[pypy-commit] pypy py3.5-async: Fix test_ast to check for correct 'arguments'-fields in test_fields
raffael_t
pypy.commits at gmail.com
Wed Aug 10 10:11:38 EDT 2016
Author: Raffael Tfirst <raffael.tfirst at gmail.com>
Branch: py3.5-async
Changeset: r86130:fffb365644a3
Date: 2016-08-10 16:10 +0200
http://bitbucket.org/pypy/pypy/changeset/fffb365644a3/
Log: Fix test_ast to check for correct 'arguments'-fields in test_fields
diff --git a/pypy/interpreter/astcompiler/test/test_ast.py b/pypy/interpreter/astcompiler/test/test_ast.py
--- a/pypy/interpreter/astcompiler/test/test_ast.py
+++ b/pypy/interpreter/astcompiler/test/test_ast.py
@@ -45,8 +45,8 @@
w_fields = space.getattr(ast.get(space).w_arguments,
space.wrap("_fields"))
assert space.eq_w(w_fields, space.wrap(
- ('args', 'vararg', 'varargannotation', 'kwonlyargs', 'kwarg',
- 'kwargannotation', 'defaults', 'kw_defaults')))
+ ('args', 'vararg', 'kwonlyargs', 'kw_defaults',
+ 'kwarg', 'defaults')))
def test_attributes(self, space):
w_attrs = space.getattr(ast.get(space).w_FunctionDef,
More information about the pypy-commit
mailing list