From 62a12d2d6fe9faa88482a49447ebf4ed73a7e3a5 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 6 Aug 2017 09:33:40 -0600 Subject: TST, MAINT: Add `__init__.py` files to tests directories. This allows pytest to run with duplicate test file names. Note that `python ` 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. --- numpy/f2py/tests/test_parameter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/f2py/tests/test_parameter.py') diff --git a/numpy/f2py/tests/test_parameter.py b/numpy/f2py/tests/test_parameter.py index b6891756d..285b693a1 100644 --- a/numpy/f2py/tests/test_parameter.py +++ b/numpy/f2py/tests/test_parameter.py @@ -6,7 +6,7 @@ import math import numpy as np from numpy.testing import run_module_suite, dec, assert_raises, assert_equal -import util +from . import util def _path(*a): -- cgit v1.2.1