MCPcopy Index your code
hub / github.com/lincolnloop/python-qrcode / test_mode_8bit

Function test_mode_8bit

qrcode/tests/test_qrcode.py:83–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82
83def test_mode_8bit():
84 qr = qrcode.QRCode()
85 qr.add_data("abcABC" + UNICODE_TEXT, optimize=0)
86 qr.make()
87 assert qr.version == 1
88 assert qr.data_list[0].mode == MODE_8BIT_BYTE
89
90
91def test_mode_8bit_newline():

Callers

nothing calls this directly

Calls 2

add_dataMethod · 0.95
makeMethod · 0.95

Tested by

no test coverage detected