We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d10c4c commit ee2cf63Copy full SHA for ee2cf63
tests/profiling.py
@@ -101,8 +101,7 @@
101
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), str('..'))))
102
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), str('.'))))
103
except Exception as ImportErr: # pragma: no branch
104
-
105
- raise ImportError(str("[CWE-758] Profile module failed completely."))
+ raise ImportError(ImportErr, str("[CWE-758] Profile module failed completely."))
106
except Exception as badErr: # pragma: no branch
107
baton = ImportError(badErr, str("[CWE-758] Test module failed completely."))
108
baton.module = __module__
0 commit comments