Author: Armin Rigo <ar...@tunes.org>
Branch: py3.5
Changeset: r87858:fbf7fbaebfb1
Date: 2016-10-18 14:55 +0200
http://bitbucket.org/pypy/pypy/changeset/fbf7fbaebfb1/

Log:    Remove part of a test

diff --git a/pypy/interpreter/astcompiler/test/test_validate.py 
b/pypy/interpreter/astcompiler/test/test_validate.py
--- a/pypy/interpreter/astcompiler/test/test_validate.py
+++ b/pypy/interpreter/astcompiler/test/test_validate.py
@@ -252,8 +252,9 @@
     def test_dict(self):
         d = ast.Dict([], [ast.Name("x", ast.Load, 0, 0)], 0, 0)
         self.expr(d, "same number of keys as values")
-        d = ast.Dict([None], [ast.Name("x", ast.Load, 0, 0)], 0, 0)
-        self.expr(d, "None disallowed")
+        # This is now valid, and used for ``{**x}``
+        #d = ast.Dict([None], [ast.Name("x", ast.Load, 0, 0)], 0, 0)
+        #self.expr(d, "None disallowed")
         d = ast.Dict([ast.Name("x", ast.Load, 0, 0)], [None], 0, 0)
         self.expr(d, "None disallowed")
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to