You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
370 B

  1. import nd2reader
  2. import unittest
  3. from setup import VERSION
  4. class TestVersion(unittest.TestCase):
  5. def test_module_version_type(self):
  6. # just make sure the version number exists and is the type we expect
  7. self.assertEqual(type(nd2reader.__version__), str)
  8. def test_versions_in_sync(self):
  9. self.assertEqual(nd2reader.__version__, VERSION)