(d)
| 48 | |
| 49 | |
| 50 | def make_fixture(d): |
| 51 | for i in range(NUM_FILES): |
| 52 | with open(os.path.join(d, f"mod_{i}.py"), "w") as f: |
| 53 | for j in range(20): |
| 54 | f.write(f"def fn_{i}_{j}(a, b):\n") |
| 55 | f.write(f" x = a + b + {i} * {j}\n") |
| 56 | f.write(" return x\n\n") |
| 57 | |
| 58 | |
| 59 | def run_series(repo, cache, supervised): |