[pypy-commit] pypy py3.5: Remove part of a test
arigo
pypy.commits at gmail.com
Tue Oct 18 09:35:52 EDT 2016
Author: Armin Rigo <arigo at 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")
More information about the pypy-commit
mailing list