diff options
-rw-r--r-- | Lib/test/test_stat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_stat.py b/Lib/test/test_stat.py index 5fd0892..8de5f36 100644 --- a/Lib/test/test_stat.py +++ b/Lib/test/test_stat.py @@ -152,7 +152,7 @@ class TestFilemode(unittest.TestCase): st_mode, modestr = self.get_mode(os.devnull) self.assertEqual(modestr[0], 'c') self.assertS_IS("CHR", st_mode) - # needs block devices in BSD, /dev/da0, /dev/ad0 are links + # Linux block devices, BSD has no block devices anymore for blockdev in ("/dev/sda", "/dev/hda"): if os.path.exists(blockdev): st_mode, modestr = self.get_mode(blockdev) |