We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting the following test failures with Sphinx 7.1.2 & python 3.10:
<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="0" failures="3" skipped="0" tests="4" time="0.988" timestamp="2023-08-26T11:51:46.387839" hostname="EDORAS"><testcase classname="tests.test_basic" name="test_basic" time="0.333"><failure message="assert '<document so...\n abc' == '<document so...\n abc' - <document source="<src>/index.rst"> + <document source="<src>/index.rst" translation_progress="{'total': 0, 'translated': 0}"> <paragraph> abc">sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x000001CD00275FD0> def test_basic(sphinx_doctree): result = sphinx_doctree("abc") > assert ( result.pformat() == '<document source="<src>/index.rst">\n <paragraph>\n abc' ) E assert '<document so...\n abc' == '<document so...\n abc' E - <document source="<src>/index.rst"> E + <document source="<src>/index.rst" translation_progress="{'total': 0, 'translated': 0}"> E <paragraph> E abc tests\test_basic.py:3: AssertionError</failure></testcase><testcase classname="tests.test_basic" name="test_no_transforms" time="0.054" /><testcase classname="tests.test_basic" name="test_with_transforms" time="0.034"><failure message="assert '<document so... header' == '<document so... header' - <document source="<src>/index.rst"> + <document source="<src>/index.rst" translation_progress="{'total': 0, 'translated': 0}"> <target refid="target"> <section ids="header target" names="header target"> <title> header">sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x000001CD01305810> def test_with_transforms(sphinx_doctree): """Return the doctree, after transforms (but not post-transforms).""" result = sphinx_doctree(".. _target:\n\nheader\n------\n") > assert ( result.pformat() == """\ <document source="<src>/index.rst"> <target refid="target"> <section ids="header target" names="header target"> <title> header """.rstrip() ) E assert '<document so... header' == '<document so... header' E - <document source="<src>/index.rst"> E + <document source="<src>/index.rst" translation_progress="{'total': 0, 'translated': 0}"> E <target refid="target"> E <section ids="header target" names="header target"> E <title> E header tests\test_basic.py:27: AssertionError</failure></testcase><testcase classname="tests.test_basic" name="test_html_builder" time="0.251"><failure message="assert '<document so...e="preserve">' == '<document so...e="preserve">' - <document source="<src>/index.rst"> + <document source="<src>/index.rst" translation_progress="{'total': 0, 'translated': 0}"> <paragraph> abc <comment xml:space="preserve">">sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x000001CD01315D50> def test_html_builder(sphinx_doctree): sphinx_doctree.buildername = "html" result = sphinx_doctree(".. only:: html\n\n abc\n\n.. only:: latex\n\n xyz\n") > assert ( result.get_resolved_pformat() == '<document source="<src>/index.rst">\n <paragraph>\n abc' '\n <comment xml:space="preserve">' ) E assert '<document so...e="preserve">' == '<document so...e="preserve">' E - <document source="<src>/index.rst"> E + <document source="<src>/index.rst" translation_progress="{'total': 0, 'translated': 0}"> E <paragraph> E abc E <comment xml:space="preserve"> tests\test_basic.py:42: AssertionError</failure></testcase></testsuite></testsuites>
The text was updated successfully, but these errors were encountered:
pathlib.Path
python-sphinx-pytest is failing to build in Fedora Rawhide because of this.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I am getting the following test failures with Sphinx 7.1.2 & python 3.10:
The text was updated successfully, but these errors were encountered: