mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 02:37:41 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user