mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 22:07:03 +01:00
usb_query.py 267 -> 180. The non-blocking fd handling - _drain_buffer, _write_with_deadline, _read_nonblocking, _wait_for_pjl_response and pjl_query - moves to _pjl_io.py. usb_query imports the three names test_usb_query.py patches back, which is safe here only because all three still have real call sites in the code that stayed; an import-only name would be stripped by ruff's F401 sweep and break the patch. os and time also stay: they are patched on usb_query as well as on _pjl_io. test_usb_query.py needs no edit. Pass count is 402 before and after. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_check_brother_printer.py | ||
| test_constants.py | ||
| test_consumables_part2.py | ||
| test_consumables.py | ||
| test_cups_queue_part2.py | ||
| test_cups_queue_part3.py | ||
| test_cups_queue.py | ||
| test_cups_service_part2.py | ||
| test_cups_service_part3.py | ||
| test_cups_service_part4.py | ||
| test_cups_service.py | ||
| test_data_classes.py | ||
| test_display_part2.py | ||
| test_display.py | ||
| test_main_entry.py | ||
| test_network_query.py | ||
| test_page_count.py | ||
| test_query.py | ||
| test_usb_query_part2.py | ||
| test_usb_query.py | ||