Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r57465:a76895e792b3
Date: 2012-09-21 23:20 +0200
http://bitbucket.org/pypy/pypy/changeset/a76895e792b3/
Log: cpyext: simple fix for test_weakref.py
diff --git a/pypy/module/cpyext/test/test_weakref.py
b/pypy/module/cpyext/test/test_weakref.py
--- a/pypy/module/cpyext/test/test_weakref.py
+++ b/pypy/module/cpyext/test/test_weakref.py
@@ -18,7 +18,7 @@
def test_proxy(self, space, api):
w_obj = space.w_Warning # some weakrefable object
w_proxy = api.PyWeakref_NewProxy(w_obj, None)
- assert space.unwrap(space.str(w_proxy)) == "<class
'exceptions.Warning'>"
+ assert space.unwrap(space.str(w_proxy)) == "<class 'Warning'>"
assert space.unwrap(space.repr(w_proxy)).startswith('<weak')
def test_weakref_lockobject(self, space, api):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit