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

Fix tests for Python 3.

This commit is contained in:
Michael Elsdörfer
2016-08-30 13:20:42 +02:00
parent 4496ea91bd
commit 3681c5c7bf
2 changed files with 3 additions and 3 deletions

View File

@@ -31,4 +31,4 @@ def test_lacks_support(bctype, supports_b):
with pytest.raises(BarcodeTypeError):
instance.barcode('test', bctype)
assert instance.output == ''
assert instance.output == b''