Skip to content

Fix test for shutil.disk_usage #6

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

Merged
merged 1 commit into from
Sep 22, 2022
Merged

Fix test for shutil.disk_usage #6

merged 1 commit into from
Sep 22, 2022

Conversation

mjpieters
Copy link
Contributor

Replace the test for statvfs with a test for the shutil module exporting disk_usage. The test for statvfs always failed because there is no shutil.statvfs function, only os.statvfs (but only on Linux systems).

@mjpieters
Copy link
Contributor Author

The test failures here will be fixed once #7 is merged and I've rebased this on top of that PR.

Copy link
Owner

@kumaraditya303 kumaraditya303 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Replace the test for `statvfs` with a test for the shutil module exporting
`disk_usage`. The test for `statvfs` always failed because there is
no `shutil.statvfs` function, only `os.statvfs` (but only on Linux
systems).
@kumaraditya303 kumaraditya303 merged commit 92c5744 into kumaraditya303:master Sep 22, 2022
@mjpieters mjpieters deleted the disk_usage_fix branch September 22, 2022 21:12
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