mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Merge pull request #2575 from fanninpm/fix-test-py-compile-mac
Add extra check in test_py_compile for Big Sur and/or Apple Silicon
This commit is contained in:
@@ -114,7 +114,8 @@ class PyCompileTestsBase:
|
||||
self.assertFalse(os.path.exists(self.cache_path))
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
if sys.platform == "darwin":
|
||||
import platform
|
||||
if sys.platform == "darwin" and int(platform.release().split(".")[0]) < 20:
|
||||
test_relative_path = unittest.expectedFailure(test_relative_path)
|
||||
|
||||
@unittest.skipIf(hasattr(os, 'geteuid') and os.geteuid() == 0,
|
||||
|
||||
Reference in New Issue
Block a user