summary refs log tree commit diff
path: root/tests/test_utils
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2023-05-16 08:56:42 -0500
committerGitHub <noreply@github.com>2023-05-16 14:56:42 +0100
commitb6a7d49b6f1f7c494372fd1b9aab3982c9a299c7 (patch)
tree7cdd81a04740f4ff86bf55a1421dc0577a63c866 /tests/test_utils
parentTweak changelog (diff)
downloadsynapse-b6a7d49b6f1f7c494372fd1b9aab3982c9a299c7.tar.xz
`traceback.format_exception(...)` usage that is compatible with Python 3.7 and 3.11 (#15599)
* Usage that is compatible with Python 3.8 and 3.11

> Since Python 3.10, instead of passing value and tb, an exception object can
  be passed as the first argument. If value and tb are provided, the first
  argument is ignored in order to provide backwards compatibility.
>
> -- https://docs.python.org/3/library/traceback.html

* Add changelog
Diffstat (limited to 'tests/test_utils')
0 files changed, 0 insertions, 0 deletions