Fix expected value in tests of the test fetcher (#24077)

* Fix expected value in tests of the test fetcher

* Fix trigger for repo util tests
This commit is contained in:
Sylvain Gugger
2023-06-07 11:38:56 -04:00
committed by GitHub
parent 5c9394b54c
commit 89b00eef94
2 changed files with 16 additions and 5 deletions

View File

@@ -526,10 +526,17 @@ src/transformers/configuration_utils.py
create_tmp_repo(tmp_folder)
expected_example_deps = {
"examples/flax/test_flax_examples.py": ["examples/flax/text-classification/run_glue.py"],
"examples/pytorch/test_pytorch_examples.py": ["examples/pytorch/text-classification/run_glue.py"],
"examples/flax/test_flax_examples.py": [
"examples/flax/text-classification/run_glue.py",
"examples/flax/test_flax_examples.py",
],
"examples/pytorch/test_pytorch_examples.py": [
"examples/pytorch/text-classification/run_glue.py",
"examples/pytorch/test_pytorch_examples.py",
],
"examples/tensorflow/test_tensorflow_examples.py": [
"examples/tensorflow/text-classification/run_glue.py"
"examples/tensorflow/text-classification/run_glue.py",
"examples/tensorflow/test_tensorflow_examples.py",
],
}