From cfffff3dee854e924d11ad80ad0a9024fe83170d Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Sat, 18 Feb 2006 12:43:14 +0000 Subject: Fixing mingw32 building: fixes undefined referece __EH_FRAME_BEGIN__ linker failure. --- numpy/testing/numpytest.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'numpy/testing/numpytest.py') diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py index 9ddfbdd8c..5fa244726 100644 --- a/numpy/testing/numpytest.py +++ b/numpy/testing/numpytest.py @@ -370,6 +370,8 @@ class NumpyTest: if package_name != name[:len(package_name)] \ or module is None: continue + if not hasattr(module,'__file__'): + continue if os.path.basename(os.path.dirname(module.__file__))=='tests': continue modules.append(module) -- cgit v1.2.1