[pypy-commit] pypy py3k: tiny beautification
alex_gaynor
noreply at buildbot.pypy.org
Fri Jan 27 20:39:35 CET 2012
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: py3k
Changeset: r51886:d41f30d6c1ca
Date: 2012-01-27 14:39 -0500
http://bitbucket.org/pypy/pypy/changeset/d41f30d6c1ca/
Log: tiny beautification
diff --git a/pypy/interpreter/test/test_compiler.py b/pypy/interpreter/test/test_compiler.py
--- a/pypy/interpreter/test/test_compiler.py
+++ b/pypy/interpreter/test/test_compiler.py
@@ -443,7 +443,7 @@
snippet = str(py.code.Source(r'''
d = {}
d[...] = 12
- assert next(iter(d.keys())) is Ellipsis
+ assert next(iter(d)) is Ellipsis
'''))
code = self.compiler.compile(snippet, '<tmp>', 'exec', 0)
space = self.space
More information about the pypy-commit
mailing list