use detect_and_decode since qrreader is fixed

This commit is contained in:
scito 2022-12-31 17:30:24 +01:00
parent 5225af0621
commit 3558eba93b
3 changed files with 5 additions and 11 deletions

View file

@ -362,6 +362,7 @@ def test_extract_verbose(capsys: pytest.CaptureFixture[str], relaxed: bool) -> N
if not qreader_available:
expected_stdout = expected_stdout.replace('QReader installed: True', 'QReader installed: False')
expected_stdout = expected_stdout.replace('QR reading mode: ZBAR\n\n', '')
if relaxed or sys.implementation.name == 'pypy':
print('\nRelaxed mode\n')