diff options
author | Christian Heimes <christian@cheimes.de> | 2013-06-22 12:48:32 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-06-22 12:48:32 (GMT) |
commit | 45d9493ee9f91dcdf2bafdf67f3d5adc432848bf (patch) | |
tree | f4d9a47ae16698352237140211762953eb139c4f /Lib | |
parent | 29b2f174da2ac5c6fa33b3f2a7836f1c1565351c (diff) | |
download | cpython-45d9493ee9f91dcdf2bafdf67f3d5adc432848bf.zip cpython-45d9493ee9f91dcdf2bafdf67f3d5adc432848bf.tar.gz cpython-45d9493ee9f91dcdf2bafdf67f3d5adc432848bf.tar.bz2 |
BSD: block devices are gone
http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html
Diffstat (limited to 'Lib')
-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) |