Commit fb3beff4 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Make tests fail gracefully on missing pstats module

--HG--
rename : tests/run/profile_test.pyx => tests/run/pstats_profile_test.pyx
parent 5109df24
......@@ -34,7 +34,8 @@ TEST_RUN_DIRS = ['run', 'pyregr']
# Lists external modules, and a matcher matching tests
# which should be excluded if the module is not present.
EXT_DEP_MODULES = {
'numpy' : re.compile('.*\.numpy_.*').match
'numpy' : re.compile('.*\.numpy_.*').match,
'pstats' : re.compile('.*\.pstats_.*').match
}
def get_numpy_include_dirs():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment