Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix assertpy.py and some tests for Windows environment #111

Merged
merged 1 commit into from
Jan 4, 2021
Merged

Fix assertpy.py and some tests for Windows environment #111

merged 1 commit into from
Jan 4, 2021

Conversation

starhel
Copy link
Contributor

@starhel starhel commented Oct 20, 2020

Two fixes for Windows environment:

  • / is not proper separator on Windows, so os.path.join should be called to build proper path
  • NamedTemporaryFile has different behaviour on Unix and Windows as stated in docs, so I've used tmpdir fixture from pytest

You should also consider adding Windows build (like Cirrus CI which is free for open source). I'm going to experiment with Cirrus CI in my own package, so if you willing to wait, I can prepare this config one day.

@saturnboy saturnboy self-assigned this Jan 4, 2021
@saturnboy saturnboy added this to the v1.2 milestone Jan 4, 2021
@saturnboy saturnboy merged commit 8b5f7b3 into assertpy:master Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants