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

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


http://hg.python.org/cpython/rev/bfe5507423b1
changeset:   84249:bfe5507423b1
branch:      3.3
parent:      84246:6978d7a6692a
user:        Christian Heimes <christian at cheimes.de>
date:        Sat Jun 22 14:48:32 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