Skip to content

Make path separator based on OS separator#3375

Merged
JelleZijlstra merged 1 commit intopython:masterfrom
CraftSpider:pytype-fix
Oct 16, 2019
Merged

Make path separator based on OS separator#3375
JelleZijlstra merged 1 commit intopython:masterfrom
CraftSpider:pytype-fix

Conversation

@CraftSpider
Copy link
Contributor

Use the os path separator in the _is_version function, fixes #3373. Tested on both Win10 and Ubuntu 18, should be generic cross-platform

@JelleZijlstra JelleZijlstra merged commit 6058c23 into python:master Oct 16, 2019
@CraftSpider CraftSpider deleted the pytype-fix branch October 16, 2019 17:15
@gvanrossum
Copy link
Member

Do we run tests on Windows? No tests ran for this commit.

@CraftSpider
Copy link
Contributor Author

I think all the Travis builds are Ubuntu

@JelleZijlstra
Copy link
Member

It did run Travis tests on Ubuntu. I don't think we need to run Windows tests in CI for typeshed but it seemed harmless to make a small change to support people running tests locally on Windows.

@gvanrossum
Copy link
Member

gvanrossum commented Oct 16, 2019 via email

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.

pytype_test doesn't work right on windows

3 participants