From 0601c2bfde2f920d8e2396afc63e147d3064d10d Mon Sep 17 00:00:00 2001 From: MaksimZhukov Date: Wed, 7 Apr 2021 16:53:52 +0300 Subject: [PATCH] Fix condition --- 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 4a0e48a..aa7ac3a 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.StartsWith("3.10.0") -and ( ($Version -like "*beta*") -or ($Version -like "*alpha*") ) ) ) { + if ( ($module -eq "_tkinter") -and ( ($Version -like "3.10.0-beta*") -or ($Version -like "3.10.0-alpha*") ) ) { Write-Host "$module $Version ignored" } else { return 1