Skip to content

Commit

Permalink
Propagate equiv/compat distinction to unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales committed Oct 30, 2024
1 parent e51db48 commit 4f5a7f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit_tests/test_var_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def test_valid_unit_change(self):
compat = real_scalar1.compatible(real_scalar2, self.__run_env)
self.assertIsInstance(compat, VarCompatObj,
msg=self.__inst_emsg.format(type(compat)))
self.assertTrue(compat)
self.assertFalse(compat.equiv)
self.assertTrue(compat.compat)
self.assertEqual(compat.incompat_reason, '')
self.assertFalse(compat.has_kind_transforms)
Expand All @@ -150,7 +150,7 @@ def test_valid_unit_change(self):
compat = real_scalar1.compatible(real_scalar2, self.__run_env)
self.assertIsInstance(compat, VarCompatObj,
msg=self.__inst_emsg.format(type(compat)))
self.assertTrue(compat)
self.assertFalse(compat.equiv)
self.assertTrue(compat.compat)
self.assertEqual(compat.incompat_reason, '')
self.assertFalse(compat.has_kind_transforms)
Expand Down

0 comments on commit 4f5a7f1

Please sign in to comment.