extend check for all alpha versions of 3.11 python (#136)

This commit is contained in:
Dmitry Shibanov 2022-01-27 10:23:10 +03:00 committed by GitHub
parent 7e70acf5f2
commit 8beb652c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ Describe "Tests" {
"python ./sources/simple-test.py" | Should -ReturnZeroExitCode
}
if (($Version -ge "3.2.0") -and ($Version -ne "3.11.0-alpha.3")) {
if (($Version -ge "3.2.0") -and -not ([semver]"$($Version.Major).$($Version.Minor)" -eq [semver]"3.11" -and $Version.PreReleaseLabel)) {
It "Check if sqlite3 module is installed" {
"python ./sources/python-sqlite3.py" | Should -ReturnZeroExitCode
}