Skip to content

Commit 909ea3b

Browse files
committed
Test some version number variants we accept.
1 parent ef36eb2 commit 909ea3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/test_platform.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,9 @@ def test_libc_ver(self):
553553
(b'libc.so.1.2.5', ('libc', '1.2.5')),
554554
(b'libc_pthread.so.1.2.5', ('libc', '1.2.5_pthread')),
555555
(b'/aports/main/musl/src/musl-1.2.5', ('musl', '1.2.5')),
556+
# musl uses semver, but we accept some variations anyway:
557+
(b'/aports/main/musl/src/musl-12.5', ('musl', '12.5')),
558+
(b'/aports/main/musl/src/musl-1.2.5.7', ('musl', '1.2.5.7')),
556559
(b'', ('', '')),
557560
):
558561
with open(filename, 'wb') as fp:

0 commit comments

Comments
 (0)