python-escpos/test
Alexandre Detiste 66a2e78e16
start removal of six and improve type annotation (#607)
* fix unfinished Python2 -> 3 translation
* remove some six usage
* annotate
* fix regression in Six removal
* mypy: self.enf is always defined
* fix return type of cups.py
* Usb idVendor/idProduct are integers
* self.default_args is always defined
* tweak usb_args, PEP589 is better
* lp.py: reassure mypy
* correctly cast call to CashDrawerError()
* update CUPS test
* add missing close() method in metaclass
* document a bug in typeshed
* query_status() returns bytes as seen in constants.py
* remove more SIX usage
* test examples too
* remove type comment where type is annotated
* adapt behavior of cups printer to match other implementations

---------

Co-authored-by: Patrick Kanzler <dev@pkanzler.de>
Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
2023-12-16 22:02:24 +01:00
..
resources add implementation of GS v 0, GS ( L and GS *. 2016-04-06 07:34:19 +10:00
test_printers start removal of six and improve type annotation (#607) 2023-12-16 22:02:24 +01:00
conftest.py Separate method open() and constructor, enhance consistency between connectors: Rework printer tests (#587) 2023-10-28 20:52:59 +02:00
test_abstract_base_class.py Drop Py37, improve typing and docstrings (#544) 2023-08-15 01:03:36 +02:00
test_cli.py start removal of six and improve type annotation (#607) 2023-12-16 22:02:24 +01:00
test_config.py Improve test coverage and fix issue in path loading (#602) 2023-12-06 00:25:36 +01:00
test_function_barcode.py Drop Py37, improve typing and docstrings (#544) 2023-08-15 01:03:36 +02:00
test_function_buzzer.py start removal of six and improve type annotation (#607) 2023-12-16 22:02:24 +01:00
test_function_cashdraw.py Drop Py37, improve typing and docstrings (#544) 2023-08-15 01:03:36 +02:00
test_function_check_barcode.py split off dependencies for optional installation (#546) 2023-08-17 01:37:50 +02:00
test_function_cut.py start removal of six and improve type annotation (#607) 2023-12-16 22:02:24 +01:00
test_function_dummy_clear.py Clean up tests and migrate (#540) 2023-08-10 00:18:02 +02:00
test_function_image.py start removal of six and improve type annotation (#607) 2023-12-16 22:02:24 +01:00
test_function_linedisplay.py start removal of six and improve type annotation (#607) 2023-12-16 22:02:24 +01:00
test_function_panel_button.py Drop Py37, improve typing and docstrings (#544) 2023-08-15 01:03:36 +02:00
test_function_qr_native.py Improve test coverage and fix issue in path loading (#602) 2023-12-06 00:25:36 +01:00
test_function_qr_non-native.py Improve test coverage and fix issue in path loading (#602) 2023-12-06 00:25:36 +01:00
test_function_set.py start removal of six and improve type annotation (#607) 2023-12-16 22:02:24 +01:00
test_function_softbarcode.py Drop Py37, improve typing and docstrings (#544) 2023-08-15 01:03:36 +02:00
test_function_text.py start removal of six and improve type annotation (#607) 2023-12-16 22:02:24 +01:00
test_functions.py Drop Py37, improve typing and docstrings (#544) 2023-08-15 01:03:36 +02:00
test_image.py start removal of six and improve type annotation (#607) 2023-12-16 22:02:24 +01:00
test_load_module.py Drop Py37, improve typing and docstrings (#544) 2023-08-15 01:03:36 +02:00
test_load_module_missing_capability.py 558 improve capabilities handling (#562) 2023-09-06 00:05:38 +02:00
test_magicencode.py start removal of six and improve type annotation (#607) 2023-12-16 22:02:24 +01:00
test_profile.py Drop Py37, improve typing and docstrings (#544) 2023-08-15 01:03:36 +02:00
test_raise_arbitrary_error.py Drop Py37, improve typing and docstrings (#544) 2023-08-15 01:03:36 +02:00
test_with_statement.py Drop Py37, improve typing and docstrings (#544) 2023-08-15 01:03:36 +02:00