![]() ![]() ![]() "-print-stderr", action="store_true", default=False, help="Print stderr every time an error is encountered." # Set to true to print a stack trace every time an exception is thrown. Parser.add_argument("-typeshed-location", type=str, default="", help="Path to typeshed installation.") # Default to '' so that symlinking typeshed subdirs in cwd will work. Parser.add_argument("-n", "-dry-run", action="store_true", default=False, help="Don't actually run tests") Parser = argparse.ArgumentParser(description="Pytype/typeshed tests.") # clean trial will show output all the time for diagnostic purposesĬlean_run = n(test_cmds, capture_output=False)į"Clean trial does not pass, mutant tests will be meaningless.\n"ĭef create_parser() -> argparse.ArgumentParser: Test_cmds: test running commands for n()īaselineTestException: if the clean trial does not pass from the test run.Ĭache.remove_existing_cache_files(src_loc) Src_loc: the directory of the package for cache removal, may be a file """Remove all existing cache files and run the test suite. ![]() Def clean_trial(src_loc: Path, test_cmds: List) -> timedelta: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |