"tests/models/vscode:/vscode.git/clone" did not exist on "474bf508dfe0d46fc38585a1bb793e5ba74fddfd"
Unverified Commit 0dad5d82 authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Fix fallback of test_fetcher (#13071)

parent 4dd85724
...@@ -454,4 +454,7 @@ if __name__ == "__main__": ...@@ -454,4 +454,7 @@ if __name__ == "__main__":
except Exception as e: except Exception as e:
print(f"\nError when trying to grab the relevant tests: {e}\n\nRunning all tests.") print(f"\nError when trying to grab the relevant tests: {e}\n\nRunning all tests.")
with open(args.output_file, "w", encoding="utf-8") as f: with open(args.output_file, "w", encoding="utf-8") as f:
if args.filters is None:
f.write("./tests/") f.write("./tests/")
else:
f.write(" ".join(args.filters))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment