[Python-checkins] cpython (merge 3.3 -> default): BSD: block devices are gone

christian.heimes python-checkins at python.org
Sat Jun 22 14:48:52 CEST 2013


http://hg.python.org/cpython/rev/4465f273a8a4
changeset:   84250:4465f273a8a4
parent:      84247:a089a8b1f93d
parent:      84249:bfe5507423b1
user:        Christian Heimes <christian at cheimes.de>
date:        Sat Jun 22 14:48:42 2013 +0200
summary:
  BSD: block devices are gone
http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html

files:
  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
--- a/Lib/test/test_stat.py
+++ b/Lib/test/test_stat.py
@@ -152,7 +152,7 @@
             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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list