49e6227f01
tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/popen-gw2/test_tinypages0') def test_tinypages(tmpdir): html_dir = pjoin(str(tmpdir), 'html') doctree_dir = pjoin(str(tmpdir), 'doctrees') # Build the pages with warnings turned into errors cmd = [sys.executable, '-msphinx', '-W', '-b', 'html', '-d', doctree_dir, pjoin(dirname(__file__), 'tinypages'), html_dir] proc = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True) out, err = proc.communicate() assert proc.returncode == 0, \ "sphinx build failed with stdout:\n{}\nstderr:\n{}\n".format(out, err) if err: pytest.fail("sphinx build emitted the following warnings:\n{}" > .format(err)) E Failed: sphinx build emitted the following warnings: E /usr/lib/python3.7/site-packages/sphinx/util/docutils.py:311: RemovedInSphinx30Warning: function based directive support is now deprecated. Use class based directive instead. E RemovedInSphinx30Warning) ../../BUILDROOT/python-matplotlib-3.0.3-1.fc31.x86_64/usr/lib64/python3.7/site-packages/matplotlib/sphinxext/tests/test_tinypages.py:28: Failed |
||
---|---|---|
.gitignore | ||
0001-Force-using-system-qhull.patch | ||
0001-matplotlibrc-path-search-fix.patch | ||
0001-Use-packaged-jquery-and-jquery-ui.patch | ||
0002-Increase-tolerances-for-non-x86_64-arches.patch | ||
0003-Increase-some-tolerances-for-32-bit-systems.patch | ||
0003-Increase-some-tolerances-for-non-x86-arches.patch | ||
0004-Avoid-triggering-deprecation-warnings-with-pytest-3..patch | ||
python-matplotlib.spec | ||
setup.cfg | ||
sources |