-
Notifications
You must be signed in to change notification settings - Fork 105
'LocalPath.samefile' should normalize the path #58
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
Comments
Original comment by @vladipus I have created a PR with the change - https://bitbucket.org/pytest-dev/py/pull-request/28 |
Original comment by @vladipus Got this error once again, today. What kind of test are you looking for? The scenario is as that: install an MSys2 environment, Python and pytest. Then, try running the tests like::
The path on Windows should be normalized before comparing like that Thank you. |
Original comment by @vladipus Got no time for this currently. Maybe later. The fix is trivial and self-explanatory. I understand and respect your test-driven approach however. |
Original comment by @hpk42 can you submit a PR which includes a test that fails on windows? |
@rafaelpivato any interest in resuming this? |
Is this still an issue? |
i dont think its the same chagne |
The 'LocalPath.samefile' method should normalize the path on MS Windows, since it can contain back slahes.
Otherwise, I'm getting the following error in (my currently loved of which I'm thankful to you) pytest system:
Suggested fix:
The text was updated successfully, but these errors were encountered: