diff --git a/pytorch_transformers/tests/modeling_tf_common_test.py b/pytorch_transformers/tests/modeling_tf_common_test.py index ac25320189a..ecd1e387f94 100644 --- a/pytorch_transformers/tests/modeling_tf_common_test.py +++ b/pytorch_transformers/tests/modeling_tf_common_test.py @@ -69,7 +69,8 @@ class TFCommonTestCases: def test_pt_tf_model_equivalence(self): if not is_torch_available(): - pass + return + import pytorch_transformers config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common()