
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>
13 lines
208 B
Python
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")
|
|
|