diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2014-07-22 12:00:37 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-07-22 12:00:37 (GMT) |
| commit | 521e5860a5c121700e6ccc5f07053d21b83652df (patch) | |
| tree | 242d90c511e3fbe9f2c09073429351ab02bd7693 /Lib/test/test_zipimport_support.py | |
| parent | c09e9752c689338efff252408f38a77683a12cb4 (diff) | |
| download | cpython-521e5860a5c121700e6ccc5f07053d21b83652df.zip cpython-521e5860a5c121700e6ccc5f07053d21b83652df.tar.gz cpython-521e5860a5c121700e6ccc5f07053d21b83652df.tar.bz2 | |
Issue #22032: __qualname__ instead of __name__ is now always used to format
fully qualified class names of Python implemented classes.
Diffstat (limited to 'Lib/test/test_zipimport_support.py')
| -rw-r--r-- | Lib/test/test_zipimport_support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_zipimport_support.py b/Lib/test/test_zipimport_support.py index 84ba5e0..43d0da6 100644 --- a/Lib/test/test_zipimport_support.py +++ b/Lib/test/test_zipimport_support.py @@ -39,7 +39,7 @@ def _run_object_doctest(obj, module): # Use the object's fully qualified name if it has one # Otherwise, use the module's name try: - name = "%s.%s" % (obj.__module__, obj.__name__) + name = "%s.%s" % (obj.__module__, obj.__qualname__) except AttributeError: name = module.__name__ for example in finder.find(obj, name, module): |
