diff options
author | Rohit Goswami <rog32@hi.is> | 2021-11-28 06:06:28 +0000 |
---|---|---|
committer | Rohit Goswami <rog32@hi.is> | 2021-12-03 03:15:36 +0000 |
commit | 3c92ba281502393283caffe995c1a0662f2c9f84 (patch) | |
tree | 9e39a877980e00cafd995459d47383edaf78b13d /numpy/f2py/tests/test_size.py | |
parent | 0e10696f55576441fd820279d9ec10cd9f2a4c5d (diff) | |
download | numpy-3c92ba281502393283caffe995c1a0662f2c9f84.tar.gz |
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..cabc340ce 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): |