Skip to content

Commit f186b3a

Browse files
fix: correct Python 3.13 traceback format - caret points to 'raise 1' only
Co-Authored-By: AJ Steers <[email protected]>
1 parent 55f3852 commit f186b3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unit_tests/test_exception_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_uncaught_exception_handler():
5353
"Traceback (most recent call last):\n"
5454
' File "<string>", line 1, in <module>\n'
5555
" from airbyte_cdk.logger import init_logger; from airbyte_cdk.exception_handler import init_uncaught_exception_handler; logger = init_logger('airbyte'); init_uncaught_exception_handler(logger); raise 1\n"
56-
" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"
56+
" ^^^^^^^\n"
5757
"TypeError: exceptions must derive from BaseException"
5858
)
5959
else:

0 commit comments

Comments
 (0)