"docs/vscode:/vscode.git/clone" did not exist on "baf1801b8629b851a0e17324ecb5122664aec030"
Unverified Commit 0dde5897 authored by amyeroberts's avatar amyeroberts Committed by GitHub
Browse files

Rename test_feature_extraction files (#21140)

* Rename files

* Update file names in tests
parent 7b5e943c
...@@ -499,7 +499,7 @@ NEW_BERT_CONSTANT = "value" ...@@ -499,7 +499,7 @@ NEW_BERT_CONSTANT = "value"
test_files = {str(Path(f).relative_to(REPO_PATH)) for f in vit_files["test_files"]} test_files = {str(Path(f).relative_to(REPO_PATH)) for f in vit_files["test_files"]}
vit_test_files = { vit_test_files = {
"tests/models/vit/test_feature_extraction_vit.py", "tests/models/vit/test_image_processing_vit.py",
"tests/models/vit/test_modeling_vit.py", "tests/models/vit/test_modeling_vit.py",
"tests/models/vit/test_modeling_tf_vit.py", "tests/models/vit/test_modeling_tf_vit.py",
"tests/models/vit/test_modeling_flax_vit.py", "tests/models/vit/test_modeling_flax_vit.py",
...@@ -566,7 +566,7 @@ NEW_BERT_CONSTANT = "value" ...@@ -566,7 +566,7 @@ NEW_BERT_CONSTANT = "value"
test_files = {str(Path(f).relative_to(REPO_PATH)) for f in vit_files["test_files"]} test_files = {str(Path(f).relative_to(REPO_PATH)) for f in vit_files["test_files"]}
vit_test_files = { vit_test_files = {
"tests/models/vit/test_feature_extraction_vit.py", "tests/models/vit/test_image_processing_vit.py",
"tests/models/vit/test_modeling_vit.py", "tests/models/vit/test_modeling_vit.py",
} }
self.assertEqual(test_files, vit_test_files) self.assertEqual(test_files, vit_test_files)
...@@ -628,7 +628,7 @@ NEW_BERT_CONSTANT = "value" ...@@ -628,7 +628,7 @@ NEW_BERT_CONSTANT = "value"
test_files = {str(Path(f).relative_to(REPO_PATH)) for f in vit_files["test_files"]} test_files = {str(Path(f).relative_to(REPO_PATH)) for f in vit_files["test_files"]}
vit_test_files = { vit_test_files = {
"tests/models/vit/test_feature_extraction_vit.py", "tests/models/vit/test_image_processing_vit.py",
"tests/models/vit/test_modeling_tf_vit.py", "tests/models/vit/test_modeling_tf_vit.py",
"tests/models/vit/test_modeling_flax_vit.py", "tests/models/vit/test_modeling_flax_vit.py",
} }
...@@ -798,7 +798,7 @@ NEW_BERT_CONSTANT = "value" ...@@ -798,7 +798,7 @@ NEW_BERT_CONSTANT = "value"
test_files = {str(Path(f).relative_to(REPO_PATH)) for f in all_vit_files["test_files"]} test_files = {str(Path(f).relative_to(REPO_PATH)) for f in all_vit_files["test_files"]}
vit_test_files = { vit_test_files = {
"tests/models/vit/test_feature_extraction_vit.py", "tests/models/vit/test_image_processing_vit.py",
"tests/models/vit/test_modeling_vit.py", "tests/models/vit/test_modeling_vit.py",
"tests/models/vit/test_modeling_tf_vit.py", "tests/models/vit/test_modeling_tf_vit.py",
"tests/models/vit/test_modeling_flax_vit.py", "tests/models/vit/test_modeling_flax_vit.py",
......
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