summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-06-06 13:28:50 (GMT)
committerGitHub <noreply@github.com>2018-06-06 13:28:50 (GMT)
commitb5d702e5e7291eed21666ed931da2a5e92c28a65 (patch)
tree2658b28f4e537a50959fced000f28c8b5594d483 /Lib
parentb8c0845fee9277b1106ceecbf7592f8806c73ec8 (diff)
downloadcpython-b5d702e5e7291eed21666ed931da2a5e92c28a65.zip
cpython-b5d702e5e7291eed21666ed931da2a5e92c28a65.tar.gz
cpython-b5d702e5e7291eed21666ed931da2a5e92c28a65.tar.bz2
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
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_posix.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index e54484c..4f6abc6 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -615,11 +615,6 @@ class PosixTester(unittest.TestCase):
self.assertRaises(TypeError, posix.minor)
self.assertRaises((ValueError, OverflowError), posix.minor, -1)
- # FIXME: reenable these tests on FreeBSD with the kernel fix
- if sys.platform.startswith('freebsd') and dev >= 0x1_0000_0000:
- self.skipTest("bpo-31044: on FreeBSD CURRENT, minor() truncates "
- "64-bit dev to 32-bit")
-
self.assertEqual(posix.makedev(major, minor), dev)
self.assertRaises(TypeError, posix.makedev, float(major), minor)
self.assertRaises(TypeError, posix.makedev, major, float(minor))