def testlibusb0(self):
     """\
     issue#82
     usb.core.USBError: [Errno None] Connection timed out """
     self.assertTrue(isATimeout(USBError('Connection timed out')))
 def testpyusb1a2(self):
     """\
     issue#17
     usb.core.USBError: Operation timed out """
     self.assertTrue(isATimeout(IOError('Operation timed out')))
 def testErrnoTIMEOUT(self):
     """ usb.core.USBError: [Errno 110] Operation timed out """
     self.assertTrue(
         isATimeout(USBError('Operation timed out', errno=errno.ETIMEDOUT)))
 def testlibusb0(self):
     """\
     issue#82
     usb.core.USBError: [Errno None] Connection timed out """
     self.assertTrue(isATimeout(USBError('Connection timed out')))
 def testpyusb1a2(self):
     """\
     issue#17
     usb.core.USBError: Operation timed out """
     self.assertTrue(isATimeout(IOError('Operation timed out')))
 def testErrnoTIMEOUT(self):
     """ usb.core.USBError: [Errno 110] Operation timed out """
     self.assertTrue(isATimeout(USBError('Operation timed out', errno=errno.ETIMEDOUT)))