Commit dc525f4
authored
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).
1 parent 8905fcc commit dc525f4
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1363 | 1363 | | |
1364 | 1364 | | |
1365 | 1365 | | |
1366 | | - | |
| 1366 | + | |
| 1367 | + | |
1367 | 1368 | | |
1368 | 1369 | | |
1369 | 1370 | | |
1370 | 1371 | | |
1371 | 1372 | | |
1372 | 1373 | | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
1373 | 1377 | | |
1374 | 1378 | | |
1375 | 1379 | | |
| |||
0 commit comments