diff options
| author | Colin Watson <cjwatson@debian.org> | 2021-07-27 11:47:22 +0100 |
|---|---|---|
| committer | Colin Watson <cjwatson@debian.org> | 2021-07-27 11:47:22 +0100 |
| commit | eecf2e915c70a2d15f602870e2d1b4379d2d3d3e (patch) | |
| tree | cce64985d279e3c82d3eaeab6f62f2dd618ba550 /python/subunit/tests/sample-script.py | |
| parent | fd21ba4cfc531e0906aad7b79a6b412fa778199e (diff) | |
| download | subunit-git-eecf2e915c70a2d15f602870e2d1b4379d2d3d3e.tar.gz | |
Handle different SyntaxError output in testtools 2.5.0
testtools 2.5.0 only supports Python 3, and so switched from traceback2
to the standard library's traceback. However, this includes the fix for
https://bugs.python.org/issue24695, and so doesn't produce a traceback
header when there's no traceback, in particular for `SyntaxError`
exceptions. Adjust the tests to tolerate this.
See also https://github.com/zopefoundation/zope.testrunner/issues/125.
Diffstat (limited to 'python/subunit/tests/sample-script.py')
0 files changed, 0 insertions, 0 deletions
