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 overriding of filesystem info #3481

Merged
merged 2 commits into from
Dec 24, 2021
Merged

Fix overriding of filesystem info #3481

merged 2 commits into from
Dec 24, 2021

Conversation

albertvillanova
Copy link
Member

Previously, BaseCompressedFileFileSystem.info was overridden and transformed from function to dict.

This generated a bug for filesystem methods that use self.info(), like e.g. fs.isfile().

This PR:

  • Adds tests for fs.isfile (that use fs.info).
  • Fixes custom BaseCompressedFileFileSystem.info by removing its overriding.

@albertvillanova albertvillanova merged commit e42e15f into master Dec 24, 2021
@albertvillanova albertvillanova deleted the fix-fs-info branch December 24, 2021 11:08
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