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

remove some six usage

This commit is contained in:
Alexandre Detiste
2023-12-10 01:56:31 +01:00
parent bea4f29d28
commit 35565d5564
5 changed files with 8 additions and 17 deletions

View File

@@ -1,5 +1,3 @@
import six
import escpos.printer as printer
from escpos.constants import GS
@@ -8,5 +6,5 @@ def test_cut_without_feed():
"""Test cut without feeding paper"""
instance = printer.Dummy()
instance.cut(feed=False)
expected = GS + b"V" + six.int2byte(66) + b"\x00"
expected = GS + b"V" + bytes((66,)) + b"\x00"
assert instance.output == expected