summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/tests/test_parser.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-04-10 04:15:34 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-04-10 04:15:34 (GMT)
commit8b4c7ed6eb075e6ebb479e64ee77820607d6d3b7 (patch)
tree20350eb0d194c64a6409107abab7b11f427f24a5 /Lib/lib2to3/tests/test_parser.py
parentd51374ed78a3e3145911a16cdf3b9b84b3ba7d15 (diff)
parent4ab92c800a6f2b75743d4a0b4dfd9995723f3647 (diff)
downloadcpython-8b4c7ed6eb075e6ebb479e64ee77820607d6d3b7.zip
cpython-8b4c7ed6eb075e6ebb479e64ee77820607d6d3b7.tar.gz
cpython-8b4c7ed6eb075e6ebb479e64ee77820607d6d3b7.tar.bz2
merge 3.4
Diffstat (limited to 'Lib/lib2to3/tests/test_parser.py')
-rw-r--r--Lib/lib2to3/tests/test_parser.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/lib2to3/tests/test_parser.py b/Lib/lib2to3/tests/test_parser.py
index a383a14..83682b7 100644
--- a/Lib/lib2to3/tests/test_parser.py
+++ b/Lib/lib2to3/tests/test_parser.py
@@ -48,6 +48,12 @@ class GrammarTest(support.TestCase):
raise AssertionError("Syntax shouldn't have been valid")
+class TestMatrixMultiplication(GrammarTest):
+ def test_matrix_multiplication_operator(self):
+ self.validate("a @ b")
+ self.validate("a @= b")
+
+
class TestRaiseChanges(GrammarTest):
def test_2x_style_1(self):
self.validate("raise")