MCPcopy Index your code
hub / github.com/python/cpython / test_multiprocessing_exceptions

Method test_multiprocessing_exceptions

Lib/test/test_pickle.py:746–755  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

744 ('builtins', name))
745
746 def test_multiprocessing_exceptions(self):
747 module = import_helper.import_module('multiprocessing.context')
748 for name, exc in get_exceptions(module):
749 if issubclass(exc, Warning):
750 continue
751 with self.subTest(name):
752 self.assertEqual(reverse_mapping('multiprocessing.context', name),
753 ('multiprocessing', name))
754 self.assertEqual(mapping('multiprocessing', name),
755 ('multiprocessing.context', name))
756
757
758class CommandLineTest(unittest.TestCase):

Callers

nothing calls this directly

Calls 6

get_exceptionsFunction · 0.85
reverse_mappingFunction · 0.85
mappingFunction · 0.85
import_moduleMethod · 0.45
subTestMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected