1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-12-02 09:43:30 +00:00

add none annotations

This commit is contained in:
Patrick Kanzler
2023-12-16 22:21:41 +01:00
parent 6831ae0a44
commit 125a078630
10 changed files with 24 additions and 24 deletions

View File

@@ -6,7 +6,7 @@ import escpos.printer as printer
from escpos.exceptions import CashDrawerError
def test_raise_CashDrawerError():
def test_raise_CashDrawerError() -> None:
"""should raise an error if the sequence is invalid."""
instance = printer.Dummy()
with pytest.raises(CashDrawerError):