python-escpos/test/test_function_softbarcode.py
Romain Porte 4955fe3264
drop Python 2.7 support
Python 2.7 EOL is arriving on 2020-01-01: https://pythonclock.org/

This will allow us to use Python 3 only libraries, like python-barcode,
which can maintain a reduced, simpler codebase, due to only one version
to support.

Signed-off-by: Romain Porte <microjoe@microjoe.org>
2019-10-07 19:15:28 +02:00

13 lines
208 B
Python

#!/usr/bin/python
import escpos.printer as printer
import pytest
def test_soft_barcode():
"""just execute soft_barcode
"""
instance = printer.Dummy()
instance.soft_barcode("ean8", "1234")