Skip to content

Commit

Permalink
Updated test case
Browse files Browse the repository at this point in the history
  • Loading branch information
heuer committed May 23, 2022
1 parent 0d70b6c commit 78eb48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_issue_109_bytes.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def decode(qrcode):
decoded = zbardecode((qr_bytes, width, height))
assert 1 == len(decoded)
assert 'QRCODE' == decoded[0].type
return decoded[0].data.decode('utf-8').encode('shift-jis')
return decoded[0].data.decode('utf-8').encode('cp932')


def test_issue_109_bytes():
Expand Down

0 comments on commit 78eb48a

Please sign in to comment.