Lines Matching defs:test

13 import test.test_importlib.util
28 from test import support
29 from test.support import os_helper
30 from test.support import script_helper
31 from test.test_py_compile import without_source_date_epoch
32 from test.test_py_compile import SourceDateEpochTestMeta
96 # This is similar to the test above but we skip it if the OS doesn't
157 # we should also test the output
185 with test.test_importlib.util.import_state(path=[self.directory]):
188 with test.test_importlib.util.import_state(path=[self.directory]):
301 fullpath = ["test", "foo"]
320 mod_code_obj = test.test_importlib.util.get_code_from_pyc(modcode)
343 fullpath = ["test", "build", "real", "path"]
346 script = script_helper.make_script(path, "test", "1 / 0")
362 fullpath = ["test", "build", "real", "path"]
365 script = script_helper.make_script(path, "test", "1 / 0")
377 fullpath = ["test", "build", "real", "path"]
380 script = script_helper.make_script(path, "test", "1 / 0")
398 fullpath = ["test", "build", "real", "path", "ddir"]
401 script_helper.make_script(path, "test", "1 / 0")
428 allowed_path = os.path.join(self.directory, "test", "dir", "allowed")
429 symlinks_path = os.path.join(self.directory, "test", "dir", "symlinks")
430 prohibited_path = os.path.join(self.directory, "test", "dir", "prohibited")
553 @without_source_date_epoch # timestamp invalidation test
622 @without_source_date_epoch # timestamp invalidation test
840 fullpath = ["test", "build", "real", "path"]
843 script = script_helper.make_script(path, "test", "1 / 0")
885 allowed_path = os.path.join(self.directory, "test", "dir", "allowed")
886 symlinks_path = os.path.join(self.directory, "test", "dir", "symlinks")
887 prohibited_path = os.path.join(self.directory, "test", "dir", "prohibited")