Commits

Maciej Fijalkowski committed 5d4d9f9

fix annotation tests

Comments (0)

Files changed (1)

rpython/annotator/test/test_annrpython.py

                 cls = C
             return cls().foo
         a = self.RPythonAnnotator()
-        raises(Exception, a.build_types, f, [int])
+        py.test.raises(Exception, a.build_types, f, [int])
 
     def test_range_variable_step(self):
         def g(n):