Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Dec 11, 2018

The following test fails if a different process creates or removes
data disk on the same disk partition:

usage = shutil.disk_usage(os.path.dirname(__file__))
self.assertEqual(usage, shutil.disk_usage(__file__))

Only test that disk_usage() succeed on a filename, but check the
result.

Add also tests on the fields type (must be int).

https://bugs.python.org/issue35458

The following test fails if a different process creates or removes
data disk on the same disk partition:

    usage = shutil.disk_usage(os.path.dirname(__file__))
    self.assertEqual(usage, shutil.disk_usage(__file__))

Only test that disk_usage() succeed on a filename, but check the
result.

Add also tests on the fields type (must be int).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants