Skip to content

Commit 80a138b

Browse files
committed
Fix
1 parent 71d3173 commit 80a138b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/yup_python/yup_ScriptPython.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ TEST_F (ScriptPythonTest, RunPythonTests)
112112
sys.argv = ['pip', 'install', package, '--prefix', '{{root_path}}']
113113
try:
114114
runpy.run_module('pip', run_name='__main__')
115-
except SystemExit as exeption:
116-
print(str(exception))
115+
except SystemExit as ex:
116+
print(str(ex))
117117
finally:
118118
sys.argv = old_argv
119119
import pytest

0 commit comments

Comments
 (0)