Change check to cover all releases of Big Sur

This commit is contained in:
Padraic Fanning committed 2021-04-21 21:15:10 -04:00
1 parent d3d940cf1a
commit 84f13e1cb9
1 file changed
+1 -1
+1 -1
View File
@@ -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,