# HG changeset patch # User Pierre-Yves David # Date 2024-12-14 10:32:18 # Node ID 3afe0be4f4b7b1cd645d93eceaecbba75c9ca13e # Parent 2ac368d0a5b688e16f1efe08fa19cfc587f0e934 filter-traceback: minimal change to make 3.13 happy Python3.13 is including more context in the traceback for multi lines statement, so we need to extend the filtering. This is the minimal change, but the next changeset will do a larger change to convey where we effectively land diff --git a/tests/filtertraceback.py b/tests/filtertraceback.py --- a/tests/filtertraceback.py +++ b/tests/filtertraceback.py @@ -34,6 +34,9 @@ for line in sys.stdin: # PEP 657: Fine-grained error locations in tracebacks # ~~~~~~^^^^^^^^^ continue + elif line.startswith(' '): + # Python 3.13 provide de full statement context + continue elif state == 'file': # Ignore one line after " File ", but sometimes "File" lines are