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

add missing close() method in metaclass

This commit is contained in:
Alexandre Detiste
2023-12-13 22:08:47 +01:00
parent 254eae07ef
commit aa2e5cd819
2 changed files with 5 additions and 1 deletions

View File

@@ -173,4 +173,4 @@ def test_read_no_device(cupsprinter) -> None:
THEN check the return value is b''
"""
cupsprinter.device = None
assert cupsprinter._read() == b''
assert cupsprinter._read() == b""