mirror of
https://github.com/python/cpython.git
synced 2025-11-30 14:59:12 +00:00
gh-90548: Skip NODEV portion of test_makedev when linked to musl (GH-138593)
This commit is contained in:
parent
7d58461fdb
commit
bbe00d53e9
1 changed files with 1 additions and 1 deletions
|
|
@ -757,7 +757,7 @@ class PosixTester(unittest.TestCase):
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue