diff --git a/tests/python-tests.ps1 b/tests/python-tests.ps1 index 1e340b7..a208b3b 100644 --- a/tests/python-tests.ps1 +++ b/tests/python-tests.ps1 @@ -75,7 +75,7 @@ Describe "Tests" { } # Pyinstaller 3.5 does not support Python 3.8.0. Check issue https://github.com/pyinstaller/pyinstaller/issues/4311 - if ($Version -lt "3.8.0") { + if ($Version -lt "3.8.0" -and $Version.Major -ne "2") { It "Validate Pyinstaller" { "pip install pyinstaller" | Should -ReturnZeroExitCode "pyinstaller --onefile ./sources/simple-test.py" | Should -ReturnZeroExitCode