Home
last modified time | relevance | path

Searched refs:findfile (Results 1 – 25 of 33) sorted by relevance

12

/third_party/python/Lib/test/
Dtest_sndhdr.py4 from test.support import findfile
18 filename = findfile(filename, subdir="sndhdrdata")
29 filename = findfile('sndhdr.aifc', subdir="sndhdrdata")
Dtest_imghdr.py7 from test.support import findfile
37 cls.testfile = findfile('python.png', subdir='imghdrdata')
46 filename = findfile(filename, subdir='imghdrdata')
58 filename = findfile(filename, subdir='imghdrdata')
105 filename = findfile(filename, subdir='imghdrdata')
Dtest_winsound.py108 with open(support.findfile('pluck-pcm8.wav',
116 fn = support.findfile('pluck-pcm8.wav', subdir='audiodata')
Dtest_dtrace.py9 from test.support import findfile
13 return os.path.abspath(findfile(filename, subdir="dtracedata"))
Dtest_eintr.py15 script = support.findfile("_test_eintr.py")
Dtest_ossaudiodev.py5 from test.support import findfile
148 sound_info = read_sound_file(findfile('audiotest.au'))
Dtest_atexit.py13 script = support.findfile("_test_atexit.py")
Dtest_tabnanny.py15 findfile)
323 path = findfile('tabnanny.py')
Dtest_pstats.py30 stats_file = support.findfile('pstats.pck')
Dtest_tarfile.py40 tarname = support.findfile("testtar.tar")
441 with tarfile.open(support.findfile('recursion.tar')) as tar:
2339 files = [support.findfile('tokenize_tests.txt'),
2340 support.findfile('tokenize_tests-no-coding-cookie-'
2371 zipname = support.findfile('zipdir.zip')
2413 zipname = support.findfile('zipdir.zip')
2420 files = [support.findfile('tokenize_tests.txt'),
2421 support.findfile('tokenize_tests-no-coding-cookie-'
2433 files = [support.findfile('tokenize_tests.txt'),
2434 support.findfile('tokenize_tests-no-coding-cookie-'
[all …]
Dtest_aifc.py1 from test.support import findfile
152 f = aifc.open(findfile('Sine-1000Hz-300ms.aif'))
156 non_aifc_file = findfile('pluck-pcm8.wav', subdir='audiodata')
Dtest_mailcap.py10 MAILCAPFILE = test.support.findfile("mailcap.txt")
Dtest_pulldom.py9 from test.support import findfile
12 tstfile = findfile("test.xml", subdir="xmltestdata")
Dtest_configparser.py547 tricky = support.findfile("cfgparser.3")
721 file1 = support.findfile("cfgparser.1")
754 file1_bytestring = support.findfile("cfgparser.1").encode()
1154 smbconf = support.findfile("cfgparser.2")
1349 tricky = support.findfile("cfgparser.3")
1381 tricky = support.findfile("cfgparser.3")
1482 file_path = support.findfile("cfgparser.1")
1503 file_paths = [support.findfile("cfgparser.1")]
Dtest_audit.py15 AUDIT_TESTS_PY = support.findfile("audit-tests.py")
Daudiotests.py1 from test.support import findfile
254 cls.sndfilepath = findfile(cls.sndfilename, subdir='audiodata')
Dtest_gdb.py16 from test.support import findfile, python_is_optimized
300 return findfile('gdb_sample.py')
Dtest_subprocess.py2654 sleeper = support.findfile("input_reader.py", subdir="subprocessdata")
2655 fd_status = support.findfile("fd_status.py", subdir="subprocessdata")
2677 qcat = support.findfile("qcat.py", subdir="subprocessdata")
2678 qgrep = support.findfile("qgrep.py", subdir="subprocessdata")
2718 fd_status = support.findfile("fd_status.py", subdir="subprocessdata")
2770 fd_status = support.findfile("fd_status.py", subdir="subprocessdata")
2850 fd_status = support.findfile("fd_status.py", subdir="subprocessdata")
2883 script = support.findfile("fd_status.py", subdir="subprocessdata")
2914 fd_status = support.findfile("fd_status.py", subdir="subprocessdata")
2958 sigchild_ignore = support.findfile("sigchild_ignore.py",
[all …]
Dtest_difflib.py2 from test.support import findfile
244 with open(findfile('test_difflib_expect.html'), encoding="utf-8") as fp:
Dtest_zipfile.py23 from test.support import (findfile, requires_zlib, requires_bz2,
1590 fname = findfile('zip_cp437_header.zip')
2560 with zipfile.ZipFile(findfile("zipdir.zip")) as zipf:
2676 zip_name = findfile('zipdir.zip')
2680 zip_name = findfile('testtar.tar')
2685 zip_name = findfile('zipdir.zip')
2718 zip_name = findfile('zipdir.zip')
2739 self.exe_zip = findfile('exe_with_zip', subdir='ziptestdata')
2740 self.exe_zip64 = findfile('exe_with_z64', subdir='ziptestdata')
Dtest_mimetypes.py146 filename = support.findfile("mime.types")
/third_party/python/Lib/test/test_tools/
Dtest_reindent.py10 from test.support import findfile
28 bad_coding_path = findfile('bad_coding.py')
/third_party/python/Lib/idlelib/idle_test/
Dtest_help_about.py8 from test.support import requires, findfile
80 fn = findfile(filename, subdir='idlelib')
Dtest_config.py10 from test.support import captured_stderr, findfile
89 config_path = findfile('cfgparser.1')
298 config_path = findfile('cfgparser.1')
/third_party/python/Lib/tkinter/test/test_tkinter/
Dtest_images.py69 cls.testfile = support.findfile('python.xbm', subdir='imghdrdata')
153 cls.testfile = support.findfile('python.gif', subdir='imghdrdata')
166 testfile = support.findfile('python.' + ext, subdir='imghdrdata')
181 testfile = support.findfile('python.' + ext, subdir='imghdrdata')

12