Skip to content

Commit f4d9d20

Browse files
committed
Update test_modeling_common.py
1 parent db120b9 commit f4d9d20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_modeling_common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4954,6 +4954,8 @@ def test_bc_torch_dtype(self):
49544954
"""
49554955
config, _ = self.model_tester.prepare_config_and_inputs_for_common()
49564956
for model_class in self.all_model_classes:
4957+
if "TimmBackbone" in model_class.__name__:
4958+
self.skipTest("TimmBackbone should not run this test")
49574959
# First check that it works correctly
49584960
model = model_class(copy.deepcopy(config))
49594961
with tempfile.TemporaryDirectory() as tmpdirname:

0 commit comments

Comments
 (0)