]> granicus.if.org Git - python/commitdiff
BSD: block devices are gone
authorChristian Heimes <christian@cheimes.de>
Sat, 22 Jun 2013 12:48:32 +0000 (14:48 +0200)
committerChristian Heimes <christian@cheimes.de>
Sat, 22 Jun 2013 12:48:32 +0000 (14:48 +0200)
http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html

Lib/test/test_stat.py

index 5fd089246faacbed7586a919afd31d7157877b0b..8de5f360c44812ec950d0e92bc3a28d4442e87ce 100644 (file)
@@ -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)