mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-07-30 08:07:58 -05:00
Merge branch 'stable'
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
import re
|
||||
|
||||
import pytest
|
||||
from util import path
|
||||
from sphinx.testing.path import path
|
||||
|
||||
|
||||
def regex_count(expr, result):
|
||||
@@ -77,7 +77,7 @@ def test_docutils_source_link_with_nonascii_file(app, status, warning):
|
||||
try:
|
||||
(srcdir / (mb_name + '.txt')).write_text('')
|
||||
except UnicodeEncodeError:
|
||||
from path import FILESYSTEMENCODING
|
||||
from sphinx.testing.path import FILESYSTEMENCODING
|
||||
raise pytest.skip.Exception(
|
||||
'nonascii filename not supported on this filesystem encoding: '
|
||||
'%s', FILESYSTEMENCODING)
|
||||
|
||||
Reference in New Issue
Block a user