Adjust version_info test regex - no dot (#1045)

Tweaked the `test_version_info` test to remove matching against an extraneous '.'
This commit is contained in:
Jeff Glass
2022-12-13 16:10:06 -06:00
committed by GitHub
parent 6be1758548
commit 3c7568c72c

View File

@@ -226,7 +226,7 @@ class TestBasic(PyScriptTest):
assert (
re.match(
r"version_info\(year=\d{4}, month=\d{2}, "
r"minor=\d+, releaselevel='(\.[a-zA-Z0-9]+)?'\)",
r"minor=\d+, releaselevel='([a-zA-Z0-9]+)?'\)",
self.console.log.lines[-1],
)
is not None