Skip to content

Conversation

@ap--
Copy link
Collaborator

@ap-- ap-- commented Dec 20, 2025

The iterdir_no_dir test failed if run on its own, and only succeeded due to test pollution.

This PR fixes the iterdir behavior when called on non-directory resources.

@ap-- ap-- changed the title Fix iterdir raising NotADirectory for all UPath subclasses Fix iterdir behaviour when raising NotADirectory for all UPath subclasses Dec 20, 2025
@ap-- ap-- merged commit d9e80ff into fsspec:main Dec 20, 2025
27 checks passed
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.

1 participant