Home
last modified time | relevance | path

Searched refs:_factory (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_mailbox.py53 _factory = None # Overridden by subclasses to reuse tests variable in TestMailbox
59 self._box = self._factory(self._path)
135 self._box = self._factory(self._path, factory=rfc822.Message)
406 self._box = self._factory(self._path)
466 _factory = lambda self, path, factory=None: mailbox.Maildir(path, factory) member in TestMaildir
537 self._box = self._factory(self._path, factory=None)
553 self.assertEqual(self._box._factory, factory)
702 box = self._factory(self._path, factory=dummy_factory)
704 self.assertIs(folder._factory, dummy_factory)
707 self.assertIs(folder1_alias._factory, dummy_factory)
[all …]
Dtest_defaultdict.py155 self.default_factory = self._factory
156 def _factory(self): member in TestDefaultDict.test_recursive_repr.sub
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
Dfeedparser.py140 def __init__(self, _factory=message.Message): argument
142 self._factory = _factory
178 msg = self._factory()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dmailbox.py48 self._factory = factory
81 if not self._factory:
84 return self._factory(self.get_file(key))
336 if self._factory:
337 msg = self._factory(f)
412 factory=self._factory,
418 result = Maildir(path, factory=self._factory)
1053 factory=self._factory, create=False)
1058 factory=self._factory)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/etree/
DElementTree.py1374 self._factory = element_factory
1419 self._last = elem = self._factory(tag, attrs)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/
DElementTree.py1356 self._factory = element_factory
1401 self._last = elem = self._factory(tag, attrs)