diff --git a/source/tests/consistent/io/test_io.py b/source/tests/consistent/io/test_io.py index 0aaa0788ea..feafde234d 100644 --- a/source/tests/consistent/io/test_io.py +++ b/source/tests/consistent/io/test_io.py @@ -71,7 +71,7 @@ def test_data_equal(self): for backend_name in ("tensorflow", "pytorch", "dpmodel", "jax"): with self.subTest(backend_name=backend_name): backend = Backend.get_backend(backend_name)() - if not backend.is_available: + if not backend.is_available(): continue reference_data = copy.deepcopy(self.data) self.save_data_to_model(prefix + backend.suffixes[0], reference_data) @@ -127,7 +127,7 @@ def test_deep_eval(self): rets = [] for backend_name in ("tensorflow", "pytorch", "dpmodel"): backend = Backend.get_backend(backend_name)() - if not backend.is_available: + if not backend.is_available(): continue reference_data = copy.deepcopy(self.data) self.save_data_to_model(prefix + backend.suffixes[0], reference_data)