diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-09 00:19:01 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-09 00:19:01 +1100 |
commit | 65cadbeb9d78bfc80314ff4f19fdb4aff5e78244 (patch) | |
tree | 968a6a918995d335e292a70b719632844f85b80d /tests/basics/syntaxerror.py | |
parent | 5653e3c72fc8555c6a060acf6447ac694a036053 (diff) |
tests: Update test suite to be compatible with CPython 3.6.
CPython 3.6 has a few changes that, when run on uPy's test suite, give a
different output to CPython 3.5. uPy currently officially supports the
3.4 language definition, but it's useful to be able to run the test suite
with 3.4/3.5/3.6 versions of CPython. This patch makes such changes to
support 3.6.
Diffstat (limited to 'tests/basics/syntaxerror.py')
-rw-r--r-- | tests/basics/syntaxerror.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/basics/syntaxerror.py b/tests/basics/syntaxerror.py index e5cbbac06..4161de017 100644 --- a/tests/basics/syntaxerror.py +++ b/tests/basics/syntaxerror.py @@ -46,9 +46,6 @@ test_syntax("f**2 = 1") # can't assign to power of composite test_syntax("f[0]**2 = 1") -# can't assign to empty tuple -test_syntax("() = 1") - # can't have *x on RHS test_syntax("x = *x") @@ -66,7 +63,6 @@ test_syntax("[a, b] += c") test_syntax("def f(a=1, b): pass") # can't delete these things -test_syntax("del ()") test_syntax("del f()") test_syntax("del f[0]**2") test_syntax("del (a for a in a)") |