summaryrefslogtreecommitdiff
path: root/tests/basics/exception1.py
AgeCommit message (Collapse)Author
2020-03-31tests: Modify tests that print repr of an exception with 1 arg.Damien George
In Python 3.7 the behaviour of repr() of an exception with one argument changed: it no longer prints a trailing comma in the argument list. See https://bugs.python.org/issue30399 This patch modifies tests that rely on this behaviour to not rely on it. And the python34.py test is updated to include a test for this behaviour with a .exp file.
2014-03-25objexcept: Add "args" exception attribute, as well as StopIteration.value.Paul Sokolovsky
2014-01-19Move tests in basic/tests/ up one level preparating to multiple test dirs.Paul Sokolovsky