Skip sqlite test for python 3.11 and higher (#194)

This commit is contained in:
Vladimir Safonkin 2022-10-26 12:14:20 +02:00 committed by GitHub
parent 0d8f04f6f8
commit 105f6b74ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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