From 4eb1751819971e4a6ebf0a9a12eeb8c289a5d862 Mon Sep 17 00:00:00 2001 From: MaksimZhukov Date: Wed, 7 Apr 2021 15:50:08 +0300 Subject: [PATCH] Update condition to skip all alpha and beta python versions for 3.10.0 --- tests/python-tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python-tests.ps1 b/tests/python-tests.ps1 index da4b3bc..4a0e48a 100644 --- a/tests/python-tests.ps1 +++ b/tests/python-tests.ps1 @@ -24,7 +24,7 @@ function Analyze-MissingModules([string] $buildOutputLocation) { $module = $regexMatch.Groups[1].Value.Trim() Write-Host "Failed missing modules:" Write-Host $module - if ( ($module -eq "_tkinter") -and ($Version -eq "3.10.0-alpha.6") ) { + if ( ($module -eq "_tkinter") -and ( $Version.StartsWith("3.10.0") -and ( ($Version -like "*beta*") -or ($Version -like "*alpha*") ) ) ) { Write-Host "$module $Version ignored" } else { return 1