/external/python/cpython3/Lib/test/ |
D | test_funcattrs.py | 134 self.assertEqual(self.b.__qualname__, 'FuncAttrsTest.setUp.<locals>.b') 135 self.assertEqual(FuncAttrsTest.setUp.__qualname__, 'FuncAttrsTest.setUp') 136 self.assertEqual(global_function.__qualname__, 'global_function') 137 self.assertEqual(global_function().__qualname__, 139 self.assertEqual(global_function()().__qualname__, 141 self.assertEqual(global_function()()().__qualname__, 143 self.assertEqual(inner_global_function.__qualname__, 'inner_global_function') 144 …self.assertEqual(inner_global_function().__qualname__, 'inner_global_function.<locals>.inner_funct… 145 self.b.__qualname__ = 'c' 146 self.assertEqual(self.b.__qualname__, 'c') [all …]
|
D | test_datetime.py | 35 test_classes = sorted(set(test_classes), key=lambda cls: cls.__qualname__) 38 cls.__qualname__ += suffix
|
D | test_generators.py | 121 self.assertEqual(gen.__qualname__, 126 gen.__qualname__ = "qualname" 128 self.assertEqual(gen.__qualname__, "qualname") 137 func.__qualname__ = "func_qualname" 141 self.assertEqual(gen.__qualname__, "func_qualname") 147 self.assertEqual(gen.__qualname__,
|
D | test_builtin.py | 1825 self.assertEqual(A.__qualname__, 'A') 1838 self.assertEqual(C.__qualname__, 'C') 1863 self.assertEqual(A.__qualname__, name) 1877 self.assertEqual(C.__qualname__, 'C') 1894 self.assertEqual(A.__qualname__, 'B.C') 1898 self.assertEqual(A.__qualname__, 'B.C') 1900 A.__qualname__ = 'D.E' 1902 self.assertEqual(A.__qualname__, 'D.E') 1904 A.__qualname__ = b'B' 1905 self.assertEqual(A.__qualname__, 'D.E')
|
D | test_curses.py | 92 with self.subTest(meth=meth.__qualname__, args=args): 104 with self.subTest(meth=meth.__qualname__): 235 with self.subTest(func=func.__qualname__):
|
D | test_functools.py | 611 self.assertEqual(wrapper.__qualname__, f.__qualname__) 632 self.assertNotEqual(wrapper.__qualname__, f.__qualname__) 650 self.assertNotEqual(wrapper.__qualname__, f.__qualname__) 705 self.assertEqual(wrapper.__qualname__, f.__qualname__) 724 self.assertNotEqual(wrapper.__qualname__, f.__qualname__) 744 self.assertNotEqual(wrapper.__qualname__, f.__qualname__)
|
D | test_enum.py | 652 self.assertEqual(Theory.__qualname__, 'spanish_inquisition') 661 self.NestedEnum.__qualname__ = '%s.NestedEnum' % self.__class__.__name__ 1072 __qualname__ = 'NamedInt' # needed for pickle protocol 4 variable in TestEnum.test_subclasses_with_getnewargs.NamedInt 1111 __qualname__ = 'NEI' # needed for pickle protocol 4 variable in TestEnum.test_subclasses_with_getnewargs.NEI 1129 __qualname__ = 'NamedInt' # needed for pickle protocol 4 variable in TestEnum.test_subclasses_with_getnewargs_ex.NamedInt 1168 __qualname__ = 'NEI' # needed for pickle protocol 4 variable in TestEnum.test_subclasses_with_getnewargs_ex.NEI 1186 __qualname__ = 'NamedInt' # needed for pickle protocol 4 variable in TestEnum.test_subclasses_with_reduce.NamedInt 1225 __qualname__ = 'NEI' # needed for pickle protocol 4 variable in TestEnum.test_subclasses_with_reduce.NEI 1243 __qualname__ = 'NamedInt' # needed for pickle protocol 4 variable in TestEnum.test_subclasses_with_reduce_ex.NamedInt 1282 __qualname__ = 'NEI' # needed for pickle protocol 4 variable in TestEnum.test_subclasses_with_reduce_ex.NEI [all …]
|
D | test_descr.py | 1353 self.assertEqual(Q1.__qualname__, C1.__qualname__[:-2] + "Q1") 1358 q.__qualname__ = "q" 1359 self.assertEqual(q.__qualname__, "q") 1362 __qualname__ = object() variable in ClassPropertiesAndMethods.test_slots_special2.Q2 4596 qualname = d.__objclass__.__qualname__ + '.' + d.__name__ 4597 self.assertEqual(d.__qualname__, qualname) 4599 self.assertEqual(str.lower.__qualname__, 'str.lower') 4600 self.assertEqual(complex.real.__qualname__, 'complex.real') 4601 self.assertEqual(float.real.__qualname__, 'float.real') 4602 self.assertEqual(int.__add__.__qualname__, 'int.__add__') [all …]
|
D | test_asyncgen.py | 310 self.assertIn('.gen', g.__qualname__) 311 g.__qualname__ = '123' 312 self.assertEqual(g.__qualname__, '123')
|
D | test_zipimport_support.py | 41 name = "%s.%s" % (obj.__module__, obj.__qualname__)
|
/external/python/cpython3/Lib/asyncio/ |
D | coroutines.py | 44 self.__qualname__ = getattr(gen, '__qualname__', None) 149 w.__qualname__ = getattr(func, '__qualname__', None) 202 if hasattr(coro, '__qualname__') and coro.__qualname__: 203 coro_name = coro.__qualname__
|
D | format_helpers.py | 49 if hasattr(func, '__qualname__') and func.__qualname__: 50 func_repr = func.__qualname__
|
/external/python/cpython3/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 | 32 with ``__name__`` and ``__qualname__`` set to *name* and *qualname*.
|
D | gen.rst | 42 with ``__name__`` and ``__qualname__`` set to *name* and *qualname*.
|
/external/python/cpython3/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__))
|
/external/tensorflow/tensorflow/python/util/ |
D | decorator_utils.py | 27 return function.__qualname__
|
/external/python/cpython3/Lib/ |
D | _dummy_thread.py | 147 self.__class__.__qualname__,
|
D | reprlib.py | 30 wrapper.__qualname__ = getattr(user_function, '__qualname__')
|
D | datetime.py | 585 self.__class__.__qualname__, 887 self.__class__.__qualname__, 1355 self.__class__.__qualname__, 1885 self.__class__.__qualname__, 2191 self.__class__.__qualname__, 2194 self.__class__.__qualname__,
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 203 self.assertEqual(wrapped.__qualname__, fxn.__qualname__) 308 self.assertEqual(wrapped.__qualname__, fxn.__qualname__)
|
/external/python/cpython3/Lib/distutils/ |
D | extension.py | 136 self.__class__.__qualname__,
|
/external/python/cpython3/Lib/unittest/ |
D | util.py | 55 return "%s.%s" % (cls.__module__, cls.__qualname__)
|
/external/python/cpython3/Objects/ |
D | methodobject.c | 150 _Py_IDENTIFIER(__qualname__); in meth_get__qualname__()
|
/external/python/cpython3/Doc/library/ |
D | email.contentmanager.rst | 60 typ.__qualname__``). 61 * the type's qualname (``typ.__qualname__``)
|