def METHOD_NAME(self):
    self.assertRaises(ValueError, ConIO, sys.executable)
    f = ConIO("CON")
    self.assertTrue(f.readable())
    self.assertFalse(f.writable())
    self.assertIsNotNone(f.fileno())
    f.close()   # multiple close should not crash
    f.close()
    f = ConIO('CONIN$')
    self.assertTrue(f.readable())
    self.assertFalse(f.writable())
    self.assertIsNotNone(f.fileno())
    f.close()
    f.close()
    f = ConIO('CONOUT$', 'w')
    self.assertFalse(f.readable())
    self.assertTrue(f.writable())
    self.assertIsNotNone(f.fileno())
    f.close()
    f.close()
    f = open('C:/con', 'rb', buffering=0)
    self.assertIsInstance(f, ConIO)
    f.close()