Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r86757:63e420d9e2ff
Date: 2016-08-30 21:35 +0200
http://bitbucket.org/pypy/pypy/changeset/63e420d9e2ff/
Log: Fix test
diff --git a/pypy/module/_ast/test/test_ast.py
b/pypy/module/_ast/test/test_ast.py
--- a/pypy/module/_ast/test/test_ast.py
+++ b/pypy/module/_ast/test/test_ast.py
@@ -125,8 +125,8 @@
def test_optional(self):
mod = self.get_ast("x(32)", "eval")
call = mod.body
- assert call.starargs is None
- assert call.kwargs is None
+ assert len(call.args) == 1
+ assert call.args[0].n == 32
co = compile(mod, "<test>", "eval")
ns = {"x" : lambda x: x}
assert eval(co, ns) == 32
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit