49e6227 Skip test_tinypages

Authored and Committed by churchyard 5 years ago
    Skip test_tinypages
    
    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
    
        
file modified
+2 -1