mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 11:14:38 +08:00
Unskip tests in test_platform
This commit is contained in:
1 file changed
+2
-4
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user