GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — test_posix.test_makedev fails on Musl systems · Issue #138707 · python/cpython Closed as duplicate Labels OS-unsupportedtestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportBug description:This test depends on platform C library defining NODEV which is there on glibc but not on musl C library implementation on Linux. This is introduced with Alpine has disabled portions of above patch to get it going on musl by applying this patch diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index 7ed45ac..a35c6db 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -724,7 +724,7 @@ def test_makedev(self): self.assertRaises((ValueError, OverflowError), posix.makedev, x, minor) self.assertRaises((ValueError, OverflowError), posix.makedev, major, x) - if sys.platform == 'linux': + if False: NODEV = -1 self.assertEqual(posix.major(NODEV), NODEV) self.assertEqual(posix.minor(NODEV), NODEV) CPython versions tested on:3.13 Operating systems tested on:Linux Activity
MetadataMetadataAssigneesLabelsOS-unsupportedtestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error Projects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |