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_string.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_string.py')
-rw-r--r-- | numpy/f2py/tests/test_string.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/tests/test_string.py b/numpy/f2py/tests/test_string.py index 10022ebb1..065861c0b 100644 --- a/numpy/f2py/tests/test_string.py +++ b/numpy/f2py/tests/test_string.py @@ -4,7 +4,7 @@ import os from numpy.testing import run_module_suite, assert_array_equal, dec import numpy as np -import util +from . import util def _path(*a): |