Skip to content

Fix Tox test execution on Windows#66

Merged
sco1 merged 1 commit into
TYP-to-ANNfrom
fix-tests-windows
Feb 11, 2020
Merged

Fix Tox test execution on Windows#66
sco1 merged 1 commit into
TYP-to-ANNfrom
fix-tests-windows

Conversation

@GhostofGoes
Copy link
Copy Markdown
Contributor

Running the tests is not currently possible on Windows, and will fail with ERROR: InvocationError for command could not find executable python3. This is because Tox executes pytest using python3, which isn't a valid python command on Windows. Since the Tox runs the tests in a virtual environment, plain python can be safely used.

Tested against Python 3.6 and 3.6 on Windows (PowerShell) and 3.7 in Ubuntu (WSL).

@sco1 sco1 changed the base branch from master to TYP-to-ANN February 11, 2020 20:25
@sco1
Copy link
Copy Markdown
Owner

sco1 commented Feb 11, 2020

Thanks! I've been doing all the dev on MacOS so I never ran into this.

@sco1 sco1 merged commit 63d5cee into TYP-to-ANN Feb 11, 2020
@sco1 sco1 deleted the fix-tests-windows branch February 11, 2020 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants