Skip to content

Commit

Permalink
remove TestModelMajorCompatability as compatibility was added
Browse files Browse the repository at this point in the history
By the way: Compatability should be compatibility
  • Loading branch information
njzjz authored Jun 10, 2021
1 parent e20888d commit 40dd807
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/tests/test_deeppot_a.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ def tearDown(self):
os.remove(self.version_pbtxt)
os.remove(self.version_pb)

def test(self):
with self.assertRaises(RuntimeError) as context:
DeepPot(str(self.version_pb))
self.assertTrue('incompatible' in str(context.exception))
self.assertTrue(MODEL_VERSION in str(context.exception))
self.assertTrue('0.0' in str(context.exception))
#def test(self):
# with self.assertRaises(RuntimeError) as context:
# DeepPot(str(self.version_pb))
# self.assertTrue('incompatible' in str(context.exception))
# self.assertTrue(MODEL_VERSION in str(context.exception))
# self.assertTrue('0.0' in str(context.exception))


class TestModelMinorCompatability(unittest.TestCase) :
Expand Down

0 comments on commit 40dd807

Please sign in to comment.