diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2021-12-05 16:30:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-05 16:30:05 -0700 |
commit | d14d2c359fcbd499b73d254f0c20dd1a884ff9a3 (patch) | |
tree | 81edd1df081824acf385c12acafae65c1c381a9e /numpy/f2py/tests/test_size.py | |
parent | 1bef412560293e67f9cf8c4e7b20a904c46ce41d (diff) | |
parent | 90e20e58eda7547678c6d2a4c121b0317de9c74d (diff) | |
download | numpy-d14d2c359fcbd499b73d254f0c20dd1a884ff9a3.tar.gz |
Merge pull request #20479 from HaoZeke/f2pyTestPath
TST,STY: Clean up F2PY tests for pathlib.Path
Diffstat (limited to 'numpy/f2py/tests/test_size.py')
-rw-r--r-- | numpy/f2py/tests/test_size.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/numpy/f2py/tests/test_size.py b/numpy/f2py/tests/test_size.py index b609fa77f..3360e2a3d 100644 --- a/numpy/f2py/tests/test_size.py +++ b/numpy/f2py/tests/test_size.py @@ -5,12 +5,8 @@ from numpy.testing import assert_equal from . import util -def _path(*a): - return os.path.join(*((os.path.dirname(__file__),) + a)) - - class TestSizeSumExample(util.F2PyTest): - sources = [_path('src', 'size', 'foo.f90')] + sources = [util.getpath("tests", "src", "size", "foo.f90")] @pytest.mark.slow def test_all(self): |