tests: Allow tests to pass against CPython 3.5.

All breaking changes going from 3.4 to 3.5 are contained in
basics/python34.py.
This commit is contained in:
Damien George
2015-10-02 13:01:47 +01:00
parent 9e0a3d46b6
commit 34f26ea862
7 changed files with 35 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
# test if eval raises SyntaxError
try:
print(eval("[1, *a]"))
print(eval("[1,,]"))
except SyntaxError:
print("SyntaxError")