mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Bad imports failed on travis and circle
This commit is contained in:
parent
37df83607e
commit
e51b3c41ea
@ -15,7 +15,7 @@ import mock
|
||||
import pytest
|
||||
from textwrap import dedent
|
||||
from sphinx.errors import SphinxError
|
||||
import os
|
||||
import sys
|
||||
|
||||
from sphinx.testing.path import path
|
||||
|
||||
@ -70,7 +70,7 @@ def nonascii_srcdir(request, rootdir, sphinx_test_tempdir):
|
||||
)
|
||||
@mock.patch('sphinx.builders.linkcheck.requests.head',
|
||||
side_effect=request_session_head)
|
||||
@pytest.mark.xfail(os.name != 'posix', reason="Not working on windows")
|
||||
@pytest.mark.xfail(sys.platform == 'win32', reason="Not working on windows")
|
||||
def test_build_all(requests_head, make_app, nonascii_srcdir, buildername):
|
||||
app = make_app(buildername, srcdir=nonascii_srcdir)
|
||||
app.build()
|
||||
|
Loading…
Reference in New Issue
Block a user