Migrate outdated tests to the most recent form.
(args: argparse.Namespace)
| 13 | |
| 14 | |
| 15 | def migrate_tests(args: argparse.Namespace) -> None: |
| 16 | """Migrate outdated tests to the most recent form.""" |
| 17 | path = args.path |
| 18 | for file_path in glob.iglob(os.path.join(os.path.abspath(path), "**", "*.py"), recursive=True): |
| 19 | migrate_tests_in_file(file_path) |
| 20 | |
| 21 | |
| 22 | def migrate_tests_in_file(file_path: str) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…