def test_main(): tests = [ DefaultSelectorTestCase, SelectSelectorTestCase, PollSelectorTestCase, EpollSelectorTestCase, KqueueSelectorTestCase, DevpollSelectorTestCase ] support.run_unittest(*tests) support.reap_children()
def test_popen(self): self.assertRaises(TypeError, os.popen) self._do_test_commandline("foo bar", ["foo", "bar"]) self._do_test_commandline('foo "spam and eggs" "silly walk"', ["foo", "spam and eggs", "silly walk"]) self._do_test_commandline('foo "a \\"quoted\\" arg" bar', ["foo", 'a "quoted" arg', "bar"]) support.reap_children()
def test_main(): support.run_unittest( BZ2FileTest, BZ2CompressorTest, BZ2DecompressorTest, CompressDecompressTest, OpenTest, ) support.reap_children()
def tearDown(self): signal_alarm(0) # Didn't deadlock. reap_children() for fn in self.test_files: try: os.remove(fn) except OSError: pass self.test_files[:] = []
def test_main(): try: sql_mode.support.run_unittest(PydocDocTest, PydocImportTest, TestDescriptions, PydocServerTest, PydocUrlHandlerTest, TestHelper, PydocWithMetaClasses, ) finally: reap_children()
def test_main(): run_unittest(SimplePipeTests) reap_children()
def tearDownModule(): support.reap_children()
def tearDownModule(): reap_children()
def test_main(): support.run_unittest(CmdLineTest) support.reap_children()
def tearDown(self): support.threading_cleanup(*self._threads) support.reap_children()