/third_party/python/Lib/test/ |
D | test_funcattrs.py | 175 self.assertEqual(self.b.__qualname__, 'FuncAttrsTest.setUp.<locals>.b') 176 self.assertEqual(FuncAttrsTest.setUp.__qualname__, 'FuncAttrsTest.setUp') 177 self.assertEqual(global_function.__qualname__, 'global_function') 178 self.assertEqual(global_function().__qualname__, 180 self.assertEqual(global_function()().__qualname__, 182 self.assertEqual(global_function()()().__qualname__, 184 self.assertEqual(inner_global_function.__qualname__, 'inner_global_function') 185 …self.assertEqual(inner_global_function().__qualname__, 'inner_global_function.<locals>.inner_funct… 186 self.b.__qualname__ = 'c' 187 self.assertEqual(self.b.__qualname__, 'c') [all …]
|
D | test_datetime.py | 36 test_classes = sorted(set(test_classes), key=lambda cls: cls.__qualname__) 39 cls.__qualname__ += suffix
|
D | test_generators.py | 120 self.assertEqual(gen.__qualname__, 125 gen.__qualname__ = "qualname" 127 self.assertEqual(gen.__qualname__, "qualname") 136 func.__qualname__ = "func_qualname" 140 self.assertEqual(gen.__qualname__, "func_qualname") 146 self.assertEqual(gen.__qualname__,
|
D | test_enum.py | 618 __qualname__ = 'HexInt' variable in TestEnum.test_inherited_data_type.HexInt 622 __qualname__ = 'MyEnum' variable in TestEnum.test_inherited_data_type.MyEnum 633 __qualname__ = 'SillyInt' variable in TestEnum.test_inherited_data_type.SillyInt 636 __qualname__ = 'MyOtherEnum' variable in TestEnum.test_inherited_data_type.MyOtherEnum 647 __qualname__ = 'BrokenInt' variable in TestEnum.test_inherited_data_type.BrokenInt 651 __qualname__ = 'MyBrokenEnum' variable in TestEnum.test_inherited_data_type.MyBrokenEnum 818 self.assertEqual(Theory.__qualname__, 'spanish_inquisition') 827 self.NestedEnum.__qualname__ = '%s.NestedEnum' % self.__class__.__name__ 1242 __qualname__ = 'NamedInt' # needed for pickle protocol 4 variable in TestEnum.test_subclasses_with_getnewargs.NamedInt 1281 __qualname__ = 'NEI' # needed for pickle protocol 4 variable in TestEnum.test_subclasses_with_getnewargs.NEI [all …]
|
D | test_builtin.py | 2197 self.assertEqual(A.__qualname__, 'A') 2210 self.assertEqual(C.__qualname__, 'C') 2235 self.assertEqual(A.__qualname__, name) 2249 self.assertEqual(C.__qualname__, 'C') 2266 self.assertEqual(A.__qualname__, 'B.C') 2270 self.assertEqual(A.__qualname__, 'B.C') 2272 A.__qualname__ = 'D.E' 2274 self.assertEqual(A.__qualname__, 'D.E') 2276 A.__qualname__ = b'B' 2277 self.assertEqual(A.__qualname__, 'D.E')
|
D | test_descr.py | 1378 self.assertEqual(Q1.__qualname__, C1.__qualname__[:-2] + "Q1") 1383 q.__qualname__ = "q" 1384 self.assertEqual(q.__qualname__, "q") 1387 __qualname__ = object() variable in ClassPropertiesAndMethods.test_slots_special2.Q2 1586 '__qualname__': f.__qualname__} 4791 qualname = d.__objclass__.__qualname__ + '.' + d.__name__ 4792 self.assertEqual(d.__qualname__, qualname) 4794 self.assertEqual(str.lower.__qualname__, 'str.lower') 4795 self.assertEqual(complex.real.__qualname__, 'complex.real') 4796 self.assertEqual(float.real.__qualname__, 'float.real') [all …]
|
D | test_functools.py | 636 self.assertEqual(wrapper.__qualname__, f.__qualname__) 657 self.assertNotEqual(wrapper.__qualname__, f.__qualname__) 675 self.assertNotEqual(wrapper.__qualname__, f.__qualname__) 730 self.assertEqual(wrapper.__qualname__, f.__qualname__) 749 self.assertNotEqual(wrapper.__qualname__, f.__qualname__) 769 self.assertNotEqual(wrapper.__qualname__, f.__qualname__)
|
D | test_zipimport_support.py | 42 name = "%s.%s" % (obj.__module__, obj.__qualname__)
|
/third_party/python/Lib/asyncio/ |
D | coroutines.py | 45 self.__qualname__ = getattr(gen, '__qualname__', None) 153 w.__qualname__ = getattr(func, '__qualname__', None) 206 if hasattr(coro, '__qualname__') and coro.__qualname__: 207 coro_name = coro.__qualname__
|
D | format_helpers.py | 49 if hasattr(func, '__qualname__') and func.__qualname__: 50 func_repr = func.__qualname__
|
/third_party/python/Lib/test/support/ |
D | hashlib_helper.py | 30 setUpClass.__qualname__ = func_or_class.__qualname__ + '.setUpClass'
|
/third_party/python/Lib/ |
D | enum.py | 407 type(obj).__qualname__, cls.__class__.__qualname__)) 532 enum_class.__qualname__ = qualname 708 ve_exc = ValueError("%r is not a valid %s" % (value, cls.__qualname__)) 861 raise ValueError("%r is not a valid %s" % (value, cls.__qualname__)) 878 type(other).__qualname__, self.__class__.__qualname__)) 943 raise ValueError("%r is not a valid %s" % (value, cls.__qualname__))
|
D | reprlib.py | 30 wrapper.__qualname__ = getattr(user_function, '__qualname__')
|
D | datetime.py | 573 self.__class__.__qualname__, 909 self.__class__.__qualname__, 1407 self.__class__.__qualname__, 1933 self.__class__.__qualname__, 2240 self.__class__.__qualname__, 2243 self.__class__.__qualname__,
|
D | types.py | 218 self.__qualname__ = getattr(gen, '__qualname__', None)
|
D | inspect.py | 657 for name in func.__qualname__.split('.')[:-1]: 693 self.__qualname__ + '.' + name == obj.__qualname__): 964 qualname = object.__qualname__ 1364 return annotation.__qualname__ 1365 return annotation.__module__+'.'+annotation.__qualname__
|
/third_party/python/Doc/c-api/ |
D | function.rst | 39 set to ``NULL``. *__qualname__* is set to the same value as the function's name. 45 ``__qualname__`` attribute. *qualname* should be a unicode object or ``NULL``; 46 if ``NULL``, the ``__qualname__`` attribute is set to the same value as its
|
D | coro.rst | 33 with ``__name__`` and ``__qualname__`` set to *name* and *qualname*.
|
D | gen.rst | 44 with ``__name__`` and ``__qualname__`` set to *name* and *qualname*.
|
/third_party/python/Lib/unittest/test/ |
D | test_setups.py | 114 'setUpClass (%s.%s)' % (__name__, BrokenTest.__qualname__)) 147 'tearDownClass (%s.%s)' % (__name__, Test.__qualname__)) 418 'setUpClass (%s.%s)' % (__name__, Test.__qualname__))
|
/third_party/python/Lib/distutils/ |
D | extension.py | 137 self.__class__.__qualname__,
|
/third_party/python/Lib/test/test_importlib/ |
D | test_util.py | 204 self.assertEqual(wrapped.__qualname__, fxn.__qualname__) 309 self.assertEqual(wrapped.__qualname__, fxn.__qualname__)
|
/third_party/python/Lib/unittest/ |
D | util.py | 55 return "%s.%s" % (cls.__module__, cls.__qualname__)
|
/third_party/python/Doc/library/ |
D | email.contentmanager.rst | 60 typ.__qualname__``). 61 * the type's qualname (``typ.__qualname__``)
|
/third_party/python/Lib/email/ |
D | contentmanager.py | 44 qname = typ.__qualname__
|