Skip to content

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

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

arogl
Copy link
Contributor

@arogl arogl commented Jul 6, 2025

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.

  • Documentation. (If you've added a new command-line flag, for example, find the appropriate page under docs/ to describe it.)
  • Changelog. (Add an entry to docs/changelog.rst to the bottom of one of the lists near the top of the document.)
  • Tests. (Very much encouraged but not strictly required.)

Copy link

github-actions bot commented Jul 6, 2025

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.

@snejus snejus changed the base branch from master to speed-up-test-query July 6, 2025 14:54
@@ -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
Copy link
Member

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?

@snejus snejus force-pushed the speed-up-test-query branch 3 times, most recently from 875025b to 443ed57 Compare July 6, 2025 15:15
@snejus snejus deleted the branch beetbox:master July 6, 2025 15:24
@snejus snejus closed this Jul 6, 2025
@snejus snejus reopened this Jul 6, 2025
@snejus snejus changed the base branch from speed-up-test-query to master July 6, 2025 15:29
@snejus
Copy link
Member

snejus commented Jul 6, 2025

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!

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