Skip to content

Commit

Permalink
modify testing traceback so it would filter out additions to tracback…
Browse files Browse the repository at this point in the history
… coming from python 3.13
  • Loading branch information
szymonjas committed Oct 24, 2024
1 parent 97e1b60 commit 2f2e174
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/modularinput/test_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def stream_events(self, inputs, ew):
# Remove paths and line numbers
err = re.sub(r'File "[^"]+', 'File "...', err.getvalue())
err = re.sub(r'line \d+', 'line 123', err)
err = re.sub(r' +~+\^+', '', err)

assert out.getvalue() == ""
assert err == (
Expand Down

0 comments on commit 2f2e174

Please sign in to comment.