8f0147cf00
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.
15 lines
147 B
Plaintext
15 lines
147 B
Plaintext
None
|
|
['a', 'b']
|
|
('a', 'b') {'kw_arg': None}
|
|
2
|
|
1
|
|
SyntaxError
|
|
SyntaxError
|
|
SyntaxError
|
|
SyntaxError
|
|
SyntaxError
|
|
SyntaxError
|
|
3.4
|
|
3 4
|
|
IndexError('foo',)
|