Lines Matching full:path
1002 path = os.path.join(os.path.dirname(__file__), filename)
1003 TestRoundtrip.check_roundtrip(self, open(path, 'rb'))
1291 path = 'some_file_path'
1296 def __init__(self, lines, path):
1297 self.name = path
1309 ins = Bunk(lines, path)
1313 with self.assertRaisesRegex(SyntaxError, '.*{}'.format(path)):
1314 ins = Bunk(lines, path)
1619 tempdir = os.path.dirname(fn) or os.curdir
1620 testfiles = glob.glob(os.path.join(glob.escape(tempdir), "test*.py"))
1627 testfiles.remove(os.path.join(tempdir, "test_unicode_identifiers.py"))
1629 testfiles.remove(os.path.join(tempdir, "test_%s.py") % f)