Lines Matching defs:support
10 from test import support
21 meth = support.cpython_only(meth)
112 support.unlink(temp_mod_name + '.py')
113 support.unlink(temp_mod_name + '.pyc')
197 support.unlink(temp_mod_name + ext)
198 support.unlink(init_file_name + ext)
199 support.rmtree(test_package_name)
200 support.rmtree('__pycache__')
209 # XXX (ncoghlan): It would be nice to use support.CleanImport
218 with support.EnvironmentVarGuard():
304 with support.temp_cwd():
305 source = support.TESTFN + '.py'
308 imp.find_module, support.TESTFN, ["."])
324 # XXX (ncoghlan): It would be nice to use test.support.CleanImport
331 with support.EnvironmentVarGuard():
336 with support.CleanImport('time'):
341 with support.CleanImport('marshal'):
384 @unittest.skipIf(support.TESTFN_UNENCODABLE is None,
387 name = support.TESTFN_UNENCODABLE