diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-12-12 13:47:25 +0100 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-12-12 13:47:25 +0100 |
commit | 9d57481f043cb9b94bfc45c1ee041415d915cf8a (patch) | |
tree | 4806f5aa23aa5f72bf9cafe2e1b438d69ccb1f51 /Lib/test/test_sys.py | |
parent | 16e6a80923db90031a50790613ef3673b30886d2 (diff) | |
download | cpython-git-9d57481f043cb9b94bfc45c1ee041415d915cf8a.tar.gz |
Issue #13577: various kinds of descriptors now have a __qualname__ attribute.
Patch by sbt.
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r-- | Lib/test/test_sys.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 3169f67be8..f89514f819 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -670,17 +670,17 @@ class SizeofTest(unittest.TestCase): # complex check(complex(0,1), size(h + '2d')) # method_descriptor (descriptor object) - check(str.lower, size(h + '2PP')) + check(str.lower, size(h + '3PP')) # classmethod_descriptor (descriptor object) # XXX # member_descriptor (descriptor object) import datetime - check(datetime.timedelta.days, size(h + '2PP')) + check(datetime.timedelta.days, size(h + '3PP')) # getset_descriptor (descriptor object) import collections - check(collections.defaultdict.default_factory, size(h + '2PP')) + check(collections.defaultdict.default_factory, size(h + '3PP')) # wrapper_descriptor (descriptor object) - check(int.__add__, size(h + '2P2P')) + check(int.__add__, size(h + '3P2P')) # method-wrapper (descriptor object) check({}.__iter__, size(h + '2P')) # dict |