summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/f2py/tests/util.py')
-rw-r--r--numpy/f2py/tests/util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/f2py/tests/util.py b/numpy/f2py/tests/util.py
index f4d19dd1c..26fa7e49d 100644
--- a/numpy/f2py/tests/util.py
+++ b/numpy/f2py/tests/util.py
@@ -32,7 +32,8 @@ _module_dir = None
_module_num = 5403
if sys.platform == "cygwin":
- _module_list = []
+ NUMPY_INSTALL_ROOT = Path(__file__).parent.parent.parent
+ _module_list = list(NUMPY_INSTALL_ROOT.glob("**/*.dll"))
def _cleanup():