Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a821f82 + e4110dc commit a25be07Copy full SHA for a25be07
1 file changed
Lib/test/test_os.py
@@ -1342,6 +1342,15 @@ def test_open(self):
1342
f = open(os.path.join(self.dir, fn), 'rb')
1343
f.close()
1344
1345
+ @unittest.skipUnless(hasattr(os, 'statvfs'),
1346
+ "need os.statvfs()")
1347
+ def test_statvfs(self):
1348
+ # issue #9645
1349
+ for fn in self.unicodefn:
1350
+ # should not fail with file not found error
1351
+ fullname = os.path.join(self.dir, fn)
1352
+ os.statvfs(fullname)
1353
+
1354
def test_stat(self):
1355
for fn in self.unicodefn:
1356
os.stat(os.path.join(self.dir, fn))
0 commit comments