mirror of
https://github.com/python-escpos/python-escpos
synced 2025-08-24 09:03:34 +00:00
refactor: simplified expressions, remove unused import
This commit is contained in:
@@ -54,4 +54,4 @@ def _load_and_check_img(filename, width_expected, height_expected, raster_format
|
||||
i = 0
|
||||
for row in im.to_column_format(False):
|
||||
assert(row == column_format_expected[i])
|
||||
i = i + 1
|
||||
i += 1
|
||||
|
@@ -14,7 +14,7 @@ from __future__ import unicode_literals
|
||||
|
||||
import escpos.printer as printer
|
||||
import escpos.escpos as escpos
|
||||
import os
|
||||
|
||||
|
||||
def test_with_statement():
|
||||
"""Use with statement"""
|
||||
|
Reference in New Issue
Block a user