summaryrefslogtreecommitdiff
path: root/Python/strdup.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-12-11 12:05:21 +0100
committerGitHub <noreply@github.com>2018-12-11 12:05:21 +0100
commitdc525f4315cdbe84693396d3f7a65a00425743bb (patch)
treeaccd52f07dff8d0befb7d12df7e8c39ef41158de /Python/strdup.c
parent8905fcc85a6fc3ac394bc89b0bbf40897e9497a6 (diff)
downloadcpython-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/strdup.c')
0 files changed, 0 insertions, 0 deletions