Home
last modified time | relevance | path

Searched refs:__module__ (Results 1 – 25 of 123) sorted by relevance

12345

/third_party/python/Lib/test/test_json/
D__init__.py34 self.assertEqual(self.json.scanner.make_scanner.__module__,
36 self.assertEqual(self.json.decoder.scanstring.__module__,
38 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__,
43 self.assertEqual(self.json.scanner.make_scanner.__module__, '_json')
44 self.assertEqual(self.json.decoder.scanstring.__module__, '_json')
45 self.assertEqual(self.json.encoder.c_make_encoder.__module__, '_json')
46 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__,
Dtest_speedups.py11 self.assertEqual(self.json.decoder.scanstring.__module__, "_json")
15 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__,
/third_party/python/Lib/unittest/test/
Dtest_setups.py238 Test1.__module__ = Test2.__module__ = 'Module'
239 Test3.__module__ = 'Module2'
277 Test.__module__ = 'Module'
316 Test.__module__ = 'Module'
317 Test2.__module__ = 'Module'
336 Test.__module__ = 'Module'
354 Test.__module__ = 'Module'
389 Test.__module__ = 'Module'
390 Test2.__module__ = 'Module'
432 Test.__module__ = 'Module'
[all …]
Dtest_runner.py536 TestableTest.__module__ = 'Module'
597 TestableTest.__module__ = 'Module1'
599 TestableTest2.__module__ = 'Module2'
644 TestableTest.__module__ = 'Module'
672 TestableTest.__module__ = 'Module'
703 TestableTest.__module__ = 'Module'
744 TestableTest.__module__ = 'Module'
832 TestableTest.__module__ = 'Module'
862 TestableTest.__module__ = 'Module'
904 TestableTest.__module__ = 'Module'
[all …]
Dtest_result.py991 Foo.__module__ = 'Module'
1019 Foo.__module__ = 'Module'
1048 Foo.__module__ = 'Module'
1079 Foo.__module__ = 'Module'
1121 Foo.__module__ = 'Module'
/third_party/python/Lib/test/
Dtest_pyclbr.py91 if py_item.__module__ != moduleName:
93 self.assertEqual(py_item.__module__, value.module)
96 if py_item.__module__ != moduleName:
122 self.assertEqual(py_item.__module__, value.module)
134 return item.__module__ == module.__name__
Dtest_xml_etree_c.py199 self.assertEqual(cET.SubElement.__module__, '_elementtree')
202 self.assertEqual(cET_alias.SubElement.__module__, '_elementtree')
/third_party/python/Lib/test/support/
Dhashlib_helper.py31 setUpClass.__module__ = func_or_class.__module__
/third_party/python/Lib/
Doperator.py258 return '%s.%s(%s)' % (self.__class__.__module__,
289 return '%s.%s(%s)' % (self.__class__.__module__,
319 return '%s.%s(%s)' % (self.__class__.__module__,
Dtyping.py195 if obj.__module__ == 'builtins':
812 self.__module__ = def_mod
918 self.__module__ = def_mod
1015 self.__module__ = origin.__module__
1116 if origin.__module__ == 'builtins':
1583 base.__module__ in _PROTO_ALLOWLIST and
1584 base.__name__ in _PROTO_ALLOWLIST[base.__module__] or
1686 "Cannot subclass {}.Annotated".format(cls.__module__)
1791 base_globals = getattr(sys.modules.get(base.__module__, None), '__dict__', {})
2335 n: _type_check(tp, msg, module=tp_dict.__module__)
[all …]
Ddataclasses.py712 ns = sys.modules.get(cls.__module__).__dict__
715 module = sys.modules.get(cls.__module__)
717 ns = sys.modules.get(a_type.__module__).__dict__
890 if cls.__module__ in sys.modules:
891 globals = sys.modules[cls.__module__].__dict__
Dio.py77 UnsupportedOperation.__module__ = "io"
Dpydoc.py94 cls = sys.modules.get(func.__module__)
202 if object.__module__ != modname:
203 name = object.__module__ + '.' + name
644 name, module = object.__name__, sys.modules.get(object.__module__)
787 key, modname = base.__name__, base.__module__
883 object.__module__))
965 object.__module__)
997 parents.append(self.classlink(base, object.__module__))
1306 def makename(c, m=object.__module__):
1344 if not cls.__name__.startswith("_") and cls.__module__ == "builtins"),
[all …]
Dabc.py90 ABCMeta.__module__ = 'abc'
Dsite.py110 loader_module = m.__loader__.__module__
113 loader_module = m.__spec__.loader.__module__
Dsre_constants.py35 __module__ = 're' variable in error
/third_party/python/Doc/library/
Dmodulefinder.rst103 re: __module__,finditer,_expand
108 types: __module__,IntType,TypeType
/third_party/PyYAML/lib/yaml/
Drepresenter.py289 name = '%s.%s' % (data.__module__, data.__name__)
339 function_name = '%s.%s' % (function.__module__, function.__name__)
362 % (data_type.__module__, data_type.__name__)
/third_party/python/Doc/c-api/
Dfunction.rst37 The function's docstring and name are retrieved from the code object. *__module__*
64 Return a :term:`borrowed reference` to the *__module__* attribute of the
/third_party/python/Lib/unittest/
Dsuite.py192 previousModule = previousClass.__module__
198 currentModule = test.__class__.__module__
/third_party/protobuf/python/google/protobuf/internal/
Dpython_message.py573 init.__module__ = None
669 getter.__module__ = None
703 getter.__module__ = None
733 setter.__module__ = None
771 getter.__module__ = None
/third_party/node/tools/inspector_protocol/jinja2/
Dutils.py170 if obj.__class__.__module__ in ('__builtin__', 'builtins'):
173 name = obj.__class__.__module__ + '.' + obj.__class__.__name__
/third_party/python/Misc/NEWS.d/
D3.5.0a2.rst94 Added the __module__ attribute to _tkinter classes.
385 Deprecation warning is now raised for builtin types without the __module__
/third_party/python/Lib/distutils/
Dextension.py136 self.__class__.__module__,
/third_party/skia/third_party/externals/jinja2/
Dutils.py160 if cls.__module__ in ("__builtin__", "builtins"):
163 name = cls.__module__ + "." + cls.__name__

12345