Skip to content

Commit 2f2e174

Browse files
committed
modify testing traceback so it would filter out additions to tracback coming from python 3.13
1 parent 97e1b60 commit 2f2e174

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/modularinput/test_script.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ def stream_events(self, inputs, ew):
252252
# Remove paths and line numbers
253253
err = re.sub(r'File "[^"]+', 'File "...', err.getvalue())
254254
err = re.sub(r'line \d+', 'line 123', err)
255+
err = re.sub(r' +~+\^+', '', err)
255256

256257
assert out.getvalue() == ""
257258
assert err == (

0 commit comments

Comments
 (0)