def METHOD_NAME(self):
    if os.path.exists(os.devnull):
        st_mode = self.get_mode(os.devnull, lstat=False)
        self.assertS_IS("CHR", st_mode)
    # Linux block devices, BSD has no block devices anymore
    for blockdev in ("/dev/sda", "/dev/hda"):
        if os.path.exists(blockdev):
            st_mode = self.get_mode(blockdev, lstat=False)
            self.assertS_IS("BLK", st_mode)
            break