Lines Matching refs:__qualname__
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')
188 self.b.__qualname__ = 'd'
189 self.assertEqual(self.b.__qualname__, 'd')
420 self.assertEqual(len.__qualname__, 'len')
421 self.assertEqual(time.time.__qualname__, 'time')
424 self.assertEqual(dict.fromkeys.__qualname__, 'dict.fromkeys')
425 self.assertEqual(float.__getformat__.__qualname__,
429 self.assertEqual(str.maketrans.__qualname__, 'str.maketrans')
430 self.assertEqual(bytes.maketrans.__qualname__, 'bytes.maketrans')
433 self.assertEqual([1, 2, 3].append.__qualname__, 'list.append')
434 self.assertEqual({'foo': 'bar'}.pop.__qualname__, 'dict.pop')