Retrieve test files
()
| 87 | |
| 88 | |
| 89 | def get_test_files(): |
| 90 | """Retrieve test files""" |
| 91 | for test_type, test_dir in TEST_DIRS.items(): |
| 92 | for filepath in sorted(glob.iglob(os.path.join(test_dir, "*.py"))): |
| 93 | filename = os.path.split(filepath)[1] |
| 94 | if filename.startswith("xfail_"): |
| 95 | continue |
| 96 | |
| 97 | yield test_type, os.path.abspath(filepath) |
| 98 | |
| 99 | |
| 100 | def generate_slices(path): |