@@ -21,7 +21,7 @@ def test_pytorch_to_torchscript(any_torch_model, tmp_path):
2121 assert ret_val .source == out_path
2222 model_descr .weights .torchscript = ret_val
2323 summary = test_model (model_descr , weight_format = "torchscript" )
24- assert summary .status == "passed" , summary .format ()
24+ assert summary .status == "passed" , summary .display ()
2525
2626
2727def test_pytorch_to_onnx (convert_to_onnx , tmp_path ):
@@ -42,7 +42,7 @@ def test_pytorch_to_onnx(convert_to_onnx, tmp_path):
4242
4343 model_descr .weights .onnx = ret_val
4444 summary = test_model (model_descr , weight_format = "onnx" )
45- assert summary .status == "passed" , summary .format ()
45+ assert summary .status == "passed" , summary .display ()
4646
4747
4848def test_keras_to_tensorflow (any_keras_model : Path , tmp_path : Path ):
@@ -57,7 +57,7 @@ def test_keras_to_tensorflow(any_keras_model: Path, tmp_path: Path):
5757
5858 model_descr .weights .keras = ret_val
5959 summary = test_model (model_descr , weight_format = "keras_hdf5" )
60- assert summary .status == "passed" , summary .format ()
60+ assert summary .status == "passed" , summary .display ()
6161
6262
6363@pytest .mark .skip ()
@@ -78,7 +78,7 @@ def test_keras_to_tensorflow_zipped(any_keras_model: Path, tmp_path: Path):
7878
7979 model_descr .weights .keras = ret_val
8080 summary = test_model (model_descr , weight_format = "keras_hdf5" )
81- assert summary .status == "passed" , summary .format ()
81+ assert summary .status == "passed" , summary .display ()
8282
8383
8484# TODO: add tensorflow_to_keras converter
@@ -94,7 +94,7 @@ def test_keras_to_tensorflow_zipped(any_keras_model: Path, tmp_path: Path):
9494
9595# model_descr.weights.keras = ret_val
9696# summary = test_model(model_descr, weight_format="keras_hdf5")
97- # assert summary.status == "passed", summary.format ()
97+ # assert summary.status == "passed", summary.display ()
9898
9999
100100# @pytest.mark.skip()
@@ -115,4 +115,4 @@ def test_keras_to_tensorflow_zipped(any_keras_model: Path, tmp_path: Path):
115115
116116# model_descr.weights.keras = ret_val
117117# summary = test_model(model_descr, weight_format="keras_hdf5")
118- # assert summary.status == "passed", summary.format ()
118+ # assert summary.status == "passed", summary.display ()
0 commit comments