Author: Alexander Hesse <[email protected]>
Branch: split-rpython
Changeset: r60172:63789f745d8f
Date: 2013-01-18 14:38 +0100
http://bitbucket.org/pypy/pypy/changeset/63789f745d8f/
Log: Fixed import
diff --git a/rpython/tool/test/test_descriptor.py
b/rpython/tool/test/test_descriptor.py
--- a/rpython/tool/test/test_descriptor.py
+++ b/rpython/tool/test/test_descriptor.py
@@ -1,4 +1,4 @@
-rpython.tool.descriptor import InstanceMethod
+from rpython.tool.descriptor import InstanceMethod
class X(object):
def f(self, *args, **kwds):
diff --git a/rpython/tool/test/test_identitydict.py
b/rpython/tool/test/test_identitydict.py
--- a/rpython/tool/test/test_identitydict.py
+++ b/rpython/tool/test/test_identitydict.py
@@ -35,7 +35,7 @@
assert len(d) == 3
assert d[a] == 4
- raises(KeyError, d.__getitem__, [])
+ py.test.raises(KeyError, d.__getitem__, [])
def test_keys(self):
d = self.identity_dict()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit