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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user