# HG changeset patch # User Raphaël Gomès # Date 1729776945 -7200 # Node ID 0b17a0578a486739075d8245fbef8473e1c23e80 # Parent 51057ab0dffac9f3dc4b7070d719f9873c6291b7 py-3-13: fix traceback matching for the new Python version diff -r 51057ab0dffa -r 0b17a0578a48 tests/test-bad-extension.t --- a/tests/test-bad-extension.t Thu Oct 24 15:23:52 2024 +0200 +++ b/tests/test-bad-extension.t Thu Oct 24 15:35:45 2024 +0200 @@ -23,6 +23,7 @@ File "*/mercurial/dispatch.py", line *, in _runexithandlers (glob) (no-pyoxidizer !) File "mercurial.dispatch", line *, in _runexithandlers (glob) (pyoxidizer !) func(*args, **kwargs) + ~~~~^^^^^^^^^^^^^^^^^ (py313 !) File "$TESTTMP/bailatexit.py", line *, in bail (glob) raise RuntimeError('ui.atexit handler exception') RuntimeError: ui.atexit handler exception diff -r 51057ab0dffa -r 0b17a0578a48 tests/test-extension.t --- a/tests/test-extension.t Thu Oct 24 15:23:52 2024 +0200 +++ b/tests/test-extension.t Thu Oct 24 15:35:45 2024 +0200 @@ -596,6 +596,7 @@ File "*/mercurial/extensions.py", line *, in _runuisetup (glob) (no-pyoxidizer !) File "mercurial.extensions", line *, in _runuisetup (glob) (pyoxidizer !) uisetup(ui) + ~~~~~~~^^^^ (py313 !) File "$TESTTMP/baduisetup.py", line 2, in uisetup 1 / 0 ~~^~~ (py311 !) diff -r 51057ab0dffa -r 0b17a0578a48 tests/test-http-bad-server.t --- a/tests/test-http-bad-server.t Thu Oct 24 15:23:52 2024 +0200 +++ b/tests/test-http-bad-server.t Thu Oct 24 15:35:45 2024 +0200 @@ -246,6 +246,8 @@ read limit reached; closing socket $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=batch': (glob) Traceback (most recent call last): + rctx, req, res, self.check_perm (py313 !) + ) (py313 !) Exception: connection closed after receiving N bytes