diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2017-08-06 09:33:40 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2017-08-06 16:23:39 -0600 |
commit | 62a12d2d6fe9faa88482a49447ebf4ed73a7e3a5 (patch) | |
tree | 07bff386f8dd0fa5abd37cd71c0d776a818b07a9 /numpy/f2py/tests/test_block_docstring.py | |
parent | 91b06c021319faccb008a8ee485d26ae227bf079 (diff) | |
download | numpy-62a12d2d6fe9faa88482a49447ebf4ed73a7e3a5.tar.gz |
TST, MAINT: Add `__init__.py` files to tests directories.
This allows pytest to run with duplicate test file names. Note that
`python <path-to-test-file>` no longer works with this change, nor will
a simple `pytest numpy`, because numpy is imported from the numpy
repository. However, `python runtests.py` and `>>> numpy.test()` are
still available.
Diffstat (limited to 'numpy/f2py/tests/test_block_docstring.py')
-rw-r--r-- | numpy/f2py/tests/test_block_docstring.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/tests/test_block_docstring.py b/numpy/f2py/tests/test_block_docstring.py index efe2f4b6e..c3f9dc856 100644 --- a/numpy/f2py/tests/test_block_docstring.py +++ b/numpy/f2py/tests/test_block_docstring.py @@ -1,7 +1,7 @@ from __future__ import division, absolute_import, print_function import textwrap -import util +from . import util from numpy.testing import run_module_suite, assert_equal |