Skip to content

Commit ee2cf63

Browse files
Fixed a typo.
1 parent 6d10c4c commit ee2cf63

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/profiling.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@
101101
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), str('..'))))
102102
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), str('.'))))
103103
except Exception as ImportErr: # pragma: no branch
104-
105-
raise ImportError(str("[CWE-758] Profile module failed completely."))
104+
raise ImportError(ImportErr, str("[CWE-758] Profile module failed completely."))
106105
except Exception as badErr: # pragma: no branch
107106
baton = ImportError(badErr, str("[CWE-758] Test module failed completely."))
108107
baton.module = __module__

0 commit comments

Comments
 (0)