8000 Adjust version_info test regex - no dot (#1045) · WilliamHackspeare/pyscript@3c7568c · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c7568c

Browse files
authored
Adjust version_info test regex - no dot (pyscript#1045)
Tweaked the `test_version_info` test to remove matching against an extraneous '.'
1 parent 6be1758 commit 3c7568c

File tree

1 file changed

+1
-1
lines chang 8000 ed

1 file changed

+1
-1
lines changed

pyscriptjs/tests/integration/test_01_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def test_python_version(self):
226226
assert (
227227
re.match(
228228
r"version_info\(year=\d{4}, month=\d{2}, "
229-
r"minor=\d+, releaselevel='(\.[a-zA-Z0-9]+)?'\)",
229+
r"minor=\d+, releaselevel='([a-zA-Z0-9]+)?'\)",
230230
self.console.log.lines[-1],
231231
)
232232
is not None

0 commit comments

Comments
 (0)
0