Unskip tests in test_platform

This commit is contained in:
Padraic Fanning committed 2021-02-25 22:21:30 -05:00
1 parent 128bf209ed
commit 797d427803
1 file changed
+2 -4
+2 -4
View File
@@ -220,7 +220,6 @@ class PlatformTest(unittest.TestCase):
def test_win32_ver(self):
res = platform.win32_ver()
@unittest.skip("TODO: RUSTPYTHON, NameError: name 'ParserCreate' is not defined")
def test_mac_ver(self):
res = platform.mac_ver()
@@ -254,7 +253,8 @@ class PlatformTest(unittest.TestCase):
self.assertEqual(res[2], 'PowerPC')
@unittest.skip("TODO: RUSTPYTHON, AttributeError: module 'os' has no attribute 'fork'")
# TODO: RUSTPYTHON
@unittest.expectedFailure
@unittest.skipUnless(sys.platform == 'darwin', "OSX only test")
def test_mac_ver_with_fork(self):
# Issue7895: platform.mac_ver() crashes when using fork without exec
@@ -273,8 +273,6 @@ class PlatformTest(unittest.TestCase):
self.assertEqual(cpid, pid)
self.assertEqual(sts, 0)
# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_libc_ver(self):
# check that libc_ver(executable) doesn't raise an exception
if os.path.isdir(sys.executable) and \