summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-06-22 12:48:42 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-06-22 12:48:42 (GMT)
commit6ade516510302f8d88ab05956e539a57941c7d00 (patch)
tree41945ca3bbda6a903ec0881142b55917ebd425a9
parent27bc441f5e91705c591495d98fa58ebf824817b1 (diff)
parent45d9493ee9f91dcdf2bafdf67f3d5adc432848bf (diff)
downloadcpython-6ade516510302f8d88ab05956e539a57941c7d00.zip
cpython-6ade516510302f8d88ab05956e539a57941c7d00.tar.gz
cpython-6ade516510302f8d88ab05956e539a57941c7d00.tar.bz2
BSD: block devices are gone
http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html
-rw-r--r--Lib/test/test_stat.py2
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)