Commits

Antonio Cuni committed b991bfe

add a comment to explain this test

  • Participants
  • Parent commits da48d76

Comments (0)

Files changed (1)

pypy/objspace/std/test/test_obj.py

     space = objspace.StdObjSpace()
     w_a = space.wrap("a")
     space.type = None
+    # if it crashes, it means that space._type_isinstance didn't go through
+    # the fast path, and tries to call type() (which is set to None just
+    # above)
     space.isinstance_w(w_a, space.w_str) # does not crash