diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-12-11 12:05:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-11 12:05:21 +0100 |
commit | dc525f4315cdbe84693396d3f7a65a00425743bb (patch) | |
tree | accd52f07dff8d0befb7d12df7e8c39ef41158de /Python/future.c | |
parent | 8905fcc85a6fc3ac394bc89b0bbf40897e9497a6 (diff) | |
download | cpython-git-dc525f4315cdbe84693396d3f7a65a00425743bb.tar.gz |
bpo-35458: Fix test_shutil.test_disk_usage() (GH-11111)
The following test fails if a different process creates or removes
a file on the same disk partition between the two lines:
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 don't check
the result. Add also tests on the fields type (must be int).
Diffstat (limited to 'Python/future.c')
0 files changed, 0 insertions, 0 deletions