Author: Matti Picus <[email protected]>
Branch:
Changeset: r96194:275fd99e1c23
Date: 2019-02-28 19:39 +0200
http://bitbucket.org/pypy/pypy/changeset/275fd99e1c23/
Log: add test that passes -A (python2.7), fails on pypy
diff --git a/pypy/module/cpyext/test/test_methodobject.py
b/pypy/module/cpyext/test/test_methodobject.py
--- a/pypy/module/cpyext/test/test_methodobject.py
+++ b/pypy/module/cpyext/test/test_methodobject.py
@@ -108,6 +108,7 @@
assert mod.getarg_KW(a=3, b=4) == ((), {'a': 3, 'b': 4})
assert mod.getarg_KW(1, 2, a=3, b=4) == ((1, 2), {'a': 3, 'b': 4})
assert mod.getarg_KW.__name__ == "getarg_KW"
+ assert mod.getarg_KW(*(), **{}) == ((), {})
def test_func_attributes(self):
mod = self.import_extension('MyModule', [
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit