Backed out changeset af29d89083b3 (closes #25548) (closes #27498)

This commit is contained in:
Benjamin Peterson 2016-07-13 21:13:29 -07:00
parent fb4f8257bf
commit ab078e9ed1
20 changed files with 92 additions and 105 deletions

View file

@ -4544,9 +4544,9 @@ order (MRO) for bases """
pass
foo = Foo()
self.assertRegex(repr(foo.method), # access via instance
r"<bound method .*Foo\.method of <class '.*Foo' at 0x.+>>")
r"<bound method .*Foo\.method of <class '.*Foo'>>")
self.assertRegex(repr(Foo.method), # access via the class
r"<bound method .*Foo\.method of <class '.*Foo' at 0x.+>>")
r"<bound method .*Foo\.method of <class '.*Foo'>>")
class MyCallable: