1. Bas Westerbaan
  2. pypy

Commits

Alexander Hesse  committed 63789f7

Fixed import

  • Participants
  • Parent commits 1b9bd90
  • Branches split-rpython

Comments (0)

Files changed (2)

File rpython/tool/test/test_descriptor.py

View file
  • Ignore whitespace
-rpython.tool.descriptor import InstanceMethod
+from rpython.tool.descriptor import InstanceMethod
 
 class X(object):
     def f(self, *args, **kwds):

File rpython/tool/test/test_identitydict.py

View file
  • Ignore whitespace
         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()