commit | 7adbb5a35da601fc68255eeaf341ad734e86a9bf | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Oct 03 20:23:24 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Oct 03 20:23:24 2009 +0000 |
tree | 0b5505e6b465b27e5ecd5f523c9d9e7a6aa1b1c3 | |
parent | 3b34dd871a3d17aa382d4ca22488671afe0c4c03 [diff] [blame] |
#7050 fix a SystemError when using tuple unpacking and augmented assignment
diff --git a/Lib/test/test_augassign.py b/Lib/test/test_augassign.py index 24aa2b7..a5b7cc4 100644 --- a/Lib/test/test_augassign.py +++ b/Lib/test/test_augassign.py
@@ -24,6 +24,9 @@ # 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