Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Fix compatibility issue with Python 3.13 in vlog.at.
The vlog - Python3 test makes use of output from Python Tracebacks in its test assertion. In Python 3.13 a line with tophat (``^``) markers is added below Tracebacks from calls to assert [0], which makes the test fail. This change of behavior is also backported to the Python 3.12 and 3.11 stable branches [1]. Strip lines containing one or more occurence of the ``^`` character from the output before performing the test assertions. 0: python/cpython#105935 1: python/cpython#116034 Reported-at: https://launchpad.net/bugs/2060434 Signed-off-by: Frode Nordahl <[email protected]> Signed-off-by: 0-day Robot <[email protected]>
- Loading branch information