diff options
author | Kushal Das <kushaldas@gmail.com> | 2016-06-04 23:21:13 (GMT) |
---|---|---|
committer | Kushal Das <kushaldas@gmail.com> | 2016-06-04 23:21:13 (GMT) |
commit | 5801ecb4408cd11f6e6ffcb1612ca68d9936a728 (patch) | |
tree | d50a9aa79b55eb92dde2c12908d6ecb14fc7f1d5 /Lib/test/test_descr.py | |
parent | 409482251b06fe75c4ee56e85ffbb4b23d934159 (diff) | |
download | cpython-5801ecb4408cd11f6e6ffcb1612ca68d9936a728.zip cpython-5801ecb4408cd11f6e6ffcb1612ca68d9936a728.tar.gz cpython-5801ecb4408cd11f6e6ffcb1612ca68d9936a728.tar.bz2 |
Issue #25548: Showing memory address of class objects in repl
Diffstat (limited to 'Lib/test/test_descr.py')
-rw-r--r-- | Lib/test/test_descr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 0a5ecd5..954ef2d 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -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'>>") + r"<bound method .*Foo\.method of <class '.*Foo' at 0x.+>>") self.assertRegex(repr(Foo.method), # access via the class - r"<bound method .*Foo\.method of <class '.*Foo'>>") + r"<bound method .*Foo\.method of <class '.*Foo' at 0x.+>>") class MyCallable: |