[pypy-commit] pypy split-rpython: Fixed import

Aquana noreply at buildbot.pypy.org
Fri Jan 18 14:38:52 CET 2013


Author: Alexander Hesse <webmaster at aquanasoft.de>
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()


More information about the pypy-commit mailing list