Lines Matching defs:path
10 import os.path
29 ROOT_DIR = os.path.join(os.path.dirname(__file__), '..', '..')
30 ROOT_DIR = os.path.abspath(os.path.normpath(ROOT_DIR))
178 filename = os.path.abspath(os_helper.TESTFN)
200 filename = os.path.abspath(os_helper.TESTFN)
249 self.assertEqual(ns.testdir, os.path.join(os_helper.SAVEDCWD, 'foo'))
296 os.path.join(os_helper.SAVEDCWD, 'foo'))
372 self.testdir = os.path.realpath(os.path.dirname(__file__))
394 path = os.path.join(self.tmptestdir, name + '.py')
396 self.addCleanup(os_helper.unlink, path)
399 with open(path, 'x', encoding='utf-8') as fp:
403 self.skipTest("cannot write %s: %s" % (path, exc))
565 actual_testsuite_glob = os.path.join(glob.escape(os.path.dirname(__file__)),
612 script = os.path.join(self.testdir, 'regrtest.py')
644 script = os.path.join(self.testdir, 'autotest.py')
652 script = os.path.join(ROOT_DIR, 'Tools', 'scripts', 'run_tests.py')
665 script = os.path.join(ROOT_DIR, 'Tools', 'buildbot', 'test.bat')
680 script = os.path.join(ROOT_DIR, r'PCbuild\rt.bat')
681 if not os.path.isfile(script):
860 regex = (r'lines +cov% +module +\(path\)\n'
1507 dirname = os.path.join(self.tmptestdir, "test_python_123")
1509 filename = os.path.join(self.tmptestdir, "test_python_456")
1519 self.assertFalse(os.path.exists(name), name)