mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Change check to cover all releases of Big Sur
This commit is contained in:
1 file changed
+1
-1
@@ -115,7 +115,7 @@ class PyCompileTestsBase:
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
import platform
|
||||
if sys.platform == "darwin" and platform.release() != "20.3.0":
|
||||
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