https://github.com/python/cpython/commit/194fe15c5fa870dabdaadabdc7c24e3ee170c871 commit: 194fe15c5fa870dabdaadabdc7c24e3ee170c871 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-07T10:46:11+03:00 summary:
[3.14] gh-90548: Skip NODEV portion of test_makedev when linked to musl (GH-138593) (#138602) Co-authored-by: Zachary Ware <[email protected]> files: M Lib/test/test_posix.py diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index 628920e34b586f..2af11888b17c1d 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -757,7 +757,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 sys.platform == 'linux' and not support.linked_to_musl(): NODEV = -1 self.assertEqual(posix.major(NODEV), NODEV) self.assertEqual(posix.minor(NODEV), NODEV) _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
