Skip to content

Commit

Permalink
fix: UTs
Browse files Browse the repository at this point in the history
  • Loading branch information
anyangml committed Feb 22, 2024
1 parent 0c0f28f commit 36188a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/tests/consistent/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ def test_tf_consistent_with_ref(self):
tf_obj = self.tf_class.deserialize(data1, suffix=self.unique_id)
ret2, data2 = self.get_tf_ret_serialization_from_cls(tf_obj)
ret2 = self.extract_ret(ret2, self.RefBackend.TF)
data2 = tf_obj.serialize()
if not tf_obj.__class__.__name__.startswith(("Dipole", "Polar")):
np.testing.assert_equal(data1, data2) # tf, pt serialization mismatch
for rr1, rr2 in zip(ret1, ret2):
Expand Down

0 comments on commit 36188a8

Please sign in to comment.