forked from catboost/catboost
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore source code printing in Python3 exception tracebacks
Canonize tests Restore source code printing in Python3 exception tracebacks ([arc::pullid] 413a9120-30fca745-5aba1da5-2d7bc890) ref:7dd85c65460d342a8f1fd407ceba04b9d6c009b2
- Loading branch information
Showing
4 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...ython/runtime_py3/test/canondata/test_traceback.test_traceback_custom-default_/stderr.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
Traceback (most recent call last): | ||
File "library/python/runtime_py3/test/traceback/crash.py", line 44, in main | ||
one() | ||
File "library/python/runtime_py3/test/traceback/crash.py", line 12, in one | ||
modfunc(two) # aaa | ||
File "library/python/runtime_py3/test/traceback/mod/__init__.py", line 3, in modfunc | ||
f() # call back to caller | ||
File "library/python/runtime_py3/test/traceback/crash.py", line 16, in two | ||
three(42) | ||
File "library/python/runtime_py3/test/traceback/crash.py", line 20, in three | ||
raise RuntimeError('Kaboom! I\'m dead: {}'.format(x)) | ||
RuntimeError: Kaboom! I'm dead: 42 |
5 changes: 5 additions & 0 deletions
5
.../python/runtime_py3/test/canondata/test_traceback.test_traceback_main-default_/stderr.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
Traceback (most recent call last): | ||
File "library/python/runtime_py3/test/traceback/crash.py", line 44, in main | ||
one() | ||
File "library/python/runtime_py3/test/traceback/crash.py", line 12, in one | ||
modfunc(two) # aaa | ||
File "library/python/runtime_py3/test/traceback/mod/__init__.py", line 3, in modfunc | ||
f() # call back to caller | ||
File "library/python/runtime_py3/test/traceback/crash.py", line 16, in two | ||
three(42) | ||
File "library/python/runtime_py3/test/traceback/crash.py", line 20, in three | ||
raise RuntimeError('Kaboom! I\'m dead: {}'.format(x)) | ||
RuntimeError: Kaboom! I'm dead: 42 |