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:
@@ -1,6 +1,6 @@
|
||||
# test if eval raises SyntaxError
|
||||
|
||||
try:
|
||||
print(eval("[1, *a]"))
|
||||
print(eval("[1,,]"))
|
||||
except SyntaxError:
|
||||
print("SyntaxError")
|
||||
|
||||
Reference in New Issue
Block a user