-
- Downloads
tests: Modify tests that print repr of an exception with 1 arg.
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.
Showing
- tests/basics/dict1.py 1 addition, 1 deletiontests/basics/dict1.py
- tests/basics/exception1.py 0 additions, 1 deletiontests/basics/exception1.py
- tests/basics/generator_return.py 1 addition, 1 deletiontests/basics/generator_return.py
- tests/basics/python34.py 5 additions, 1 deletiontests/basics/python34.py
- tests/basics/python34.py.exp 1 addition, 0 deletionstests/basics/python34.py.exp
- tests/basics/subclass_native3.py 2 additions, 2 deletionstests/basics/subclass_native3.py
- tests/basics/try_as_var.py 1 addition, 1 deletiontests/basics/try_as_var.py
- tests/misc/sys_exc_info.py 1 addition, 1 deletiontests/misc/sys_exc_info.py
Loading
Please register or sign in to comment