Commits

Philip Jenvey committed 52f0a7a

workaround for staticmethod descriptors on PyPy

  • Participants
  • Parent commits f8d1975
  • Branches stdlib-3.2.5

Comments (0)

Files changed (1)

lib-python/3/test/test_pydoc.py

 
         # What we expect to get back: everything on object...
         expected = dict(vars(object))
+        # __new__'s descriptor can be a staticmethod on PyPy
+        expected['__new__'] = object.__new__
         # ...plus our unbound method...
         expected['method_returning_true'] = TestClass.method_returning_true
         # ...but not the non-methods on object.