Skip to content
Snippets Groups Projects
Commit 98d0ef61 authored by David Thompson's avatar David Thompson Committed by Kitware Robot
Browse files

Merge topic 'fix-version'


2528346f Fix failing version test.

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !726
parents b743bc82 2528346f
No related branches found
No related tags found
No related merge requests found
......@@ -37,11 +37,10 @@ class Version(unittest.TestCase):
readme = open(os.path.join(smtk.testing.SOURCE_DIR, 'doc/index.rst'))
readme.readline() # Skip title flare
readme.readline() # Skip title
readmeVersion = readme.readline().strip()
readmeMatch = 'Version %s' % number
self.assertEqual(readmeVersion, readmeMatch,
"""Mismatched version numbers in CMakeLists.txt and doc/index.rst.
self.assertTrue(readmeVersion.find(readmeMatch) > 0,
"""Mismatched version numbers in CMakeLists.txt and doc/index.rst.
Do not take version bumps lightheartedly.
Do not remove this test nor the line in the doc/index.rst
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment