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.py186 def expect_import_error(self, mod_name): member in RunModuleTestCase
196 self.expect_import_error("sys")
198 self.expect_import_error("sys.imp.eric")
199 self.expect_import_error("os.path.half")
200 self.expect_import_error("a.bee")
202 self.expect_import_error(".howard")
203 self.expect_import_error("..eaten")
204 self.expect_import_error(".test_runpy")
205 self.expect_import_error(".unittest")
207 self.expect_import_error("multiprocessing")