[Mac OS] Adapt code for Mac OS 14 image (#8760)

This commit is contained in:
Vasilii Polikarpov
2023-11-09 11:29:07 +01:00
committed by GitHub
parent 433178adf5
commit 01fe87da2e
20 changed files with 140 additions and 110 deletions

View File

@@ -28,7 +28,7 @@ Describe "Python3" -Skip:($os.IsVenturaArm64) {
}
Describe "Python2" -Skip:($os.IsVenturaArm64 -or $os.IsVentura) {
Describe "Python2" -Skip:($os.IsVenturaArm64 -or $os.IsVentura -or $os.IsSonoma) {
It "Python 2 is available" {
"/Library/Frameworks/Python.framework/Versions/2.7/bin/python --version" | Should -ReturnZeroExitCode
}
@@ -41,4 +41,4 @@ Describe "Python2" -Skip:($os.IsVenturaArm64 -or $os.IsVentura) {
$2to3path = (Get-ChildItem (Get-Command 2to3).Path).Target
$2to3path | Should -Not -BeLike '/Frameworks/Python.framework/Versions/2.*'
}
}
}