Make tests/ a Python package

Allows relative imports.
This commit is contained in:
François Freitag
2020-11-20 19:04:26 +01:00
parent 13a986b299
commit 419e145e36
16 changed files with 44 additions and 34 deletions

View File

@@ -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)
'''