mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Make tests/ a Python package
Allows relative imports.
This commit is contained in:
@@ -6,7 +6,7 @@ source_suffix = '.txt'
|
||||
exclude_patterns = ['_build']
|
||||
|
||||
doctest_global_setup = '''
|
||||
from test_ext_doctest import record
|
||||
from tests.test_ext_doctest import record
|
||||
|
||||
record('doctest_global_setup', 'body', True)
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user