1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-09-13 09:09:58 +00:00

formatting

This commit is contained in:
Patrick Kanzler
2023-08-10 23:29:26 +02:00
parent b1011a1ee5
commit 1b4230fdd9
17 changed files with 128 additions and 104 deletions

View File

@@ -13,8 +13,9 @@ import escpos.printer as printer
def test_with_statement():
"""Use with statement"""
"""Use with statement
.. todo:: Extend these tests as they don't really do anything at the moment"""
dummy_printer = printer.Dummy()
with escpos.EscposIO(dummy_printer) as p:
p.writelines("Some text.\n")
# TODO extend these tests as they don't really do anything at the moment