Skip to content

Commit b5d702e

Browse files
authored
bpo-31044, test_posix: Reenable makedev() tests on FreeBSD (#7449)
The bug has been fixed 10 months ago: * https://svnweb.freebsd.org/base?view=revision&revision=321920 * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221048
1 parent b8c0845 commit b5d702e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Lib/test/test_posix.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -615,11 +615,6 @@ def test_makedev(self):
615615
self.assertRaises(TypeError, posix.minor)
616616
self.assertRaises((ValueError, OverflowError), posix.minor, -1)
617617

618-
# FIXME: reenable these tests on FreeBSD with the kernel fix
619-
if sys.platform.startswith('freebsd') and dev >= 0x1_0000_0000:
620-
self.skipTest("bpo-31044: on FreeBSD CURRENT, minor() truncates "
621-
"64-bit dev to 32-bit")
622-
623618
self.assertEqual(posix.makedev(major, minor), dev)
624619
self.assertRaises(TypeError, posix.makedev, float(major), minor)
625620
self.assertRaises(TypeError, posix.makedev, major, float(minor))

0 commit comments

Comments
 (0)