Author: Romain Guillebert <romain...@gmail.com>
Branch: py3k
Changeset: r51338:5500c9127aab
Date: 2012-01-16 14:04 +0100
http://bitbucket.org/pypy/pypy/changeset/5500c9127aab/

Log:    Add a failing test for extended attribute unpacking

diff --git a/pypy/interpreter/pyparser/test/test_pyparse.py 
b/pypy/interpreter/pyparser/test/test_pyparse.py
--- a/pypy/interpreter/pyparser/test/test_pyparse.py
+++ b/pypy/interpreter/pyparser/test/test_pyparse.py
@@ -153,3 +153,6 @@
         self.parse('0b1101')
         self.parse('0b0l')
         py.test.raises(SyntaxError, self.parse, "0b112")
+
+    def test_new_extended_unpacking(self):
+        self.parse('(a, *rest, b) = 1, 2, 3, 4, 5')
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to