diff --git a/source/tests/tf/test_deeppot_a.py b/source/tests/tf/test_deeppot_a.py index c12fd1063b..f40b57c213 100644 --- a/source/tests/tf/test_deeppot_a.py +++ b/source/tests/tf/test_deeppot_a.py @@ -804,7 +804,7 @@ def test_convert_012(self): convert_pbtxt_to_pb(str(infer_path / "sea_012.pbtxt"), old_model) run_dp(f"dp convert-from 0.12 -i {old_model} -o {new_model}") dp = DeepPot(new_model) - ret = dp.eval(self.coords, self.box, self.atype, atomic=True) + _ = dp.eval(self.coords, self.box, self.atype, atomic=True) os.remove(old_model) os.remove(new_model) @@ -814,7 +814,7 @@ def test_convert(self): convert_pbtxt_to_pb(str(infer_path / "sea_012.pbtxt"), old_model) run_dp(f"dp convert-from -i {old_model} -o {new_model}") dp = DeepPot(new_model) - ret = dp.eval(self.coords, self.box, self.atype, atomic=True) + _ = dp.eval(self.coords, self.box, self.atype, atomic=True) os.remove(old_model) os.remove(new_model)