mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 11:19:50 +03:00
Patch test outputs to fix failed rst fixtures test. ``` ____________________ test_rst_fixtures[test_rst_008.rst] ______________________ rst_filename = PosixPath('/home/buildozer/aports/community/py3-readme_renderer/src/readme_renderer-44.0/tests/fixtures/test_rst_008.rst') html_filename = PosixPath('/home/buildozer/aports/community/py3-readme_renderer/src/readme_renderer-44.0/tests/fixtures/test_rst_008.html') @pytest.mark.parametrize( ("rst_filename", "html_filename"), [ (pytest.param(fn, fn.with_suffix(".html"), id=fn.name)) for fn in Path(__file__).parent.glob("fixtures/test_*.rst") ], ) def test_rst_fixtures(rst_filename, html_filename): [...] if "<" in expected: > assert out == expected E assert '<p>Here is s...code></pre>\n' == '<p>Here is s...code></pre>\n' E E Skipping 110 identical leading characters in diff, use -v to show E - ass</span> <span class="nc">Dog</span><span class="p">(</span><span class="n">Animal</span><span class="p">):</span><span class="w"> E ? - E + ass</span><span class="w"> </span><span class="nc">Dog</span><span class="p">(</span><span class="n">Animal</span><span class="p">):</span><span class="w"> E ? ++++++++++++++++++++++++ E - </span> <span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">name</span><span class="p">):</span><span class="w">... E E ...Full output truncated (18 lines hidden), use '-vv' to show tests/test_rst.py:28: AssertionError ``` |
||
---|---|---|
.. | ||
APKBUILD | ||
update-test-outputs.patch |