-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Update why windows tests skipped #5858
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
base: master
Are you sure you want to change the base?
Conversation
And remove `force_implicit_query_detection` attribute from `PathQuery` class.
The case_sensitive parameter was only used in tests, which now use monkeypatch to control the behavior of util.case_sensitive() instead. This simplifies the PathQuery initialization logic while maintaining test coverage.
And rewrite test_query.py
Thank you for the PR! The changelog has not been updated, so here is a friendly reminder to check if you need to add an entry. |
@@ -36,6 +41,8 @@ def test_failing_to_set_permissions(self): | |||
def do_thing(self, expect_success): | |||
if platform.system() == "Windows": | |||
self.skipTest("permissions not available on Windows") | |||
if is_wsl_and_ntfs(os.getcwd()): # WSL on NTFS does not support chmod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does platform
return for WSL? Isn't it Windows
? If so, it seems that the check on line 37 already skips the test?
875025b
to
443ed57
Compare
All of the related work has now been merged to master, so you can now rebase your commits on master, apologies for the back and forth! |
Clarify why tests on Windows are skipped.
Replaces #5812
Some tests pass in CI, but fail locally.
To Do
Not all skips looked at as yet.
docs/
to describe it.)docs/changelog.rst
to the bottom of one of the lists near the top of the document.)