diff options
Diffstat (limited to 'Lib/test/test_augassign.py')
-rw-r--r-- | Lib/test/test_augassign.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_augassign.py b/Lib/test/test_augassign.py index 24aa2b7c9e..a5b7cc4aaa 100644 --- a/Lib/test/test_augassign.py +++ b/Lib/test/test_augassign.py @@ -24,6 +24,9 @@ class AugAssignTest(unittest.TestCase): # new-style division (with -Qnew) self.assertEquals(x, 3.0) + def test_with_unpacking(self): + self.assertRaises(SyntaxError, compile, "x, b += 3", "<test>", "exec") + def testInList(self): x = [2] x[0] += 1 |