Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix python3.11 build: remove deprecated, update traceback regex
https://docs.python.org/3.11/whatsnew/3.11.html#enhanced-error-locations-in-tracebacks Tracebacks were updated with `^^^^^..` locators surrounded by optional `~~~..` so add an optional line that matches them into the traceback regex. Removes unused variable and deprecated `assertRegexpMatches`.
- Loading branch information