1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

improve type annotations in tests (#613)

This commit is contained in:
Patrick Kanzler
2023-12-17 01:15:59 +01:00
committed by GitHub
parent 0c824cf295
commit b66dafc90e
6 changed files with 17 additions and 16 deletions

View File

@@ -11,7 +11,7 @@
import escpos.printer as printer
def test_instantiation():
def test_instantiation() -> None:
"""test the instantiation of a escpos-printer class and basic printing"""
instance = printer.Dummy()
instance.text("This is a test\n")