Home
last modified time | relevance | path

Searched refs:expect_import_error (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_runpy.py86 def expect_import_error(self, mod_name): member in RunModuleTest
96 self.expect_import_error("sys")
98 self.expect_import_error("sys.imp.eric")
99 self.expect_import_error("os.path.half")
100 self.expect_import_error("a.bee")
101 self.expect_import_error(".howard")
102 self.expect_import_error("..eaten")
104 self.expect_import_error("multiprocessing")
/external/python/cpython3/Lib/test/
Dtest_runpy.py189 def expect_import_error(self, mod_name): member in RunModuleTestCase
199 self.expect_import_error("sys")
201 self.expect_import_error("sys.imp.eric")
202 self.expect_import_error("os.path.half")
203 self.expect_import_error("a.bee")
205 self.expect_import_error(".howard")
206 self.expect_import_error("..eaten")
207 self.expect_import_error(".test_runpy")
208 self.expect_import_error(".unittest")
210 self.expect_import_error("multiprocessing")