Skip to content

Commit 2a05c4e

Browse files
committed
Mark unsupported platform tests
1 parent 4720a2b commit 2a05c4e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Lib/test/test_platform.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ def clear_caches(self):
1515
platform._sys_version_cache.clear()
1616
platform._uname_cache = None
1717

18+
@unittest.skip("TODO: RUSTPYTHON")
1819
def test_architecture(self):
1920
res = platform.architecture()
2021

22+
@unittest.skip("TODO: RUSTPYTHON")
2123
@support.skip_unless_symlink
2224
def test_architecture_via_symlink(self): # issue3762
2325
# On Windows, the EXE needs to know where pythonXY.dll and *.pyd is at
@@ -85,6 +87,7 @@ def tearDown(self):
8587
sys._git = self.save_git
8688
sys.platform = self.save_platform
8789

90+
@support.cpython_only
8891
def test_sys_version(self):
8992
# Old test.
9093
for input, output in (
@@ -269,6 +272,7 @@ def test_mac_ver_with_fork(self):
269272
self.assertEqual(cpid, pid)
270273
self.assertEqual(sts, 0)
271274

275+
@unittest.skip("TODO: RUSTPYTHON")
272276
def test_libc_ver(self):
273277
# check that libc_ver(executable) doesn't raise an exception
274278
if os.path.isdir(sys.executable) and \
@@ -349,6 +353,7 @@ def test__comparable_version(self):
349353
self.assertLess(V('0.960923'), V('2.2beta29'))
350354

351355

356+
@unittest.skip("TODO: RUSTPYTHON")
352357
def test_macos(self):
353358
self.addCleanup(self.clear_caches)
354359

0 commit comments

Comments
 (0)