Module Import alias Import alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListComp Call NameLoad AttributeLoad NameLoad attr NameLoad comprehension NameStore Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword Num NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword Num NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call NameLoad keyword NameLoad keyword NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call NameLoad keyword NameLoad keyword NameLoad keyword Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call NameLoad keyword NameLoad keyword NameLoad keyword Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call NameLoad keyword NameLoad keyword NameLoad keyword Lambda arguments args NameParam defaults CompareEq AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call NameLoad keyword NameLoad keyword NameLoad keyword Lambda arguments args NameParam defaults CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Num decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad
N/A N/A utils N/A usb.backend usb.core find usb._debug methodtrace N/A usb.util N/A unittest N/A devinfo _DeviceDescriptor N/A object N/A __init__ N/A N/A self idVendor idProduct N/A N/A N/A N/A self bLength 18 N/A N/A self bDescriptorType N/A N/A usb util DESC_TYPE_DEVICE N/A N/A self bcdUSB 512 N/A N/A self idVendor idVendor N/A N/A self idProduct idProduct N/A N/A self bcdDevice 1 N/A N/A self iManufacturer 0 N/A N/A self iProduct 0 N/A N/A self iSerialNumber 0 N/A N/A self bNumConfigurations 0 N/A N/A self bMaxPacketSize0 64 N/A N/A self bDeviceClass 255 N/A N/A self bDeviceSubClass 255 N/A N/A self bDeviceProtocol 255 N/A N/A self bus 1 N/A N/A self address 1 N/A N/A self port_number None N/A N/A self port_numbers None N/A N/A self speed None N/A N/A _MyBackend N/A N/A N/A usb backend IBackend N/A __init__ N/A N/A self N/A N/A N/A N/A self devices N/A N/A _DeviceDescriptor N/A devinfo ID_VENDOR p N/A p N/A range 4 N/A enumerate_devices N/A N/A self N/A N/A N/A N/A range N/A len N/A self devices N/A get_device_descriptor N/A N/A self dev N/A N/A N/A N/A N/A self devices N/A dev N/A N/A FindTest N/A N/A unittest TestCase N/A test_find N/A N/A self N/A N/A N/A b N/A _MyBackend N/A N/A N/A self assertEqual N/A find backend b idVendor 1 None N/A N/A N/A self assertNotEqual N/A find backend b idProduct 1 None N/A N/A N/A self assertEqual N/A len N/A tuple N/A find find_all True backend b N/A len N/A b devices N/A N/A N/A self assertEqual N/A len N/A tuple N/A find find_all True backend b idProduct 1 1 N/A N/A N/A self assertEqual N/A len N/A tuple N/A find find_all True backend b idVendor 1 0 N/A N/A N/A self assertEqual N/A len N/A tuple N/A find find_all True backend b custom_match N/A N/A N/A d N/A N/A N/A d idProduct 1 1 N/A N/A N/A self assertEqual N/A len N/A tuple N/A find find_all True backend b custom_match N/A N/A N/A d N/A N/A N/A d idVendor N/A devinfo ID_VENDOR idProduct 1 1 N/A N/A methodtrace N/A utils logger N/A get_suite N/A N/A N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A suite addTest N/A N/A N/A unittest defaultTestLoader loadTestsFromTestCase FindTest N/A suite N/A N/A N/A __name__ __main__ N/A N/A N/A N/A utils run_tests N/A get_suite