Skip to content

Commit

Permalink
fix conda release
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Oct 11, 2024
1 parent 2962b92 commit f613a55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Wrappers/Python/test/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@ def test_version_num_commit(self):
def test_version_commit_hash(self):
from cil import version
self.assertTrue(isinstance(version.commit_hash, str))
self.assertEqual(version.commit_hash[0], 'g')
try: # tagged release
self.assertEqual((version.commit_hash, version.num_commit), ('None', 0))
except AssertionError: # dev build
self.assertEqual(version.commit_hash[0], 'g')

0 comments on commit f613a55

Please sign in to comment.