Author: Antonio Cuni <[email protected]>
Branch: cpyext-refactor-methodobject
Changeset: r92761:5c27ff8fb77b
Date: 2017-10-14 15:27 +0200
http://bitbucket.org/pypy/pypy/changeset/5c27ff8fb77b/
Log: fix
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
@@ -112,8 +112,8 @@
'''
),
])
- assert mod.isCFunction(mod.getarg_O) == "getarg_O"
- assert mod.getModule(mod.getarg_O) == 'MyModule'
+ assert mod.isCFunction(mod.getModule) == "getModule"
+ assert mod.getModule(mod.getModule) == 'MyModule'
if self.runappdirect: # XXX: fails untranslated
assert mod.isSameFunction(mod.getModule)
raises(SystemError, mod.isSameFunction, 1)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit