summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/test_string.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-08-06 09:33:40 -0600
committerCharles Harris <charlesr.harris@gmail.com>2017-08-06 16:23:39 -0600
commit62a12d2d6fe9faa88482a49447ebf4ed73a7e3a5 (patch)
tree07bff386f8dd0fa5abd37cd71c0d776a818b07a9 /numpy/f2py/tests/test_string.py
parent91b06c021319faccb008a8ee485d26ae227bf079 (diff)
downloadnumpy-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.py2
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):