def test_tesseract_version(self, capsys):
        p = P.PyTesseract({})
        p.required = "100"
        with pytest.raises(SystemExit):
            p.make_hocr_from_pnms("")
        out, err = capsys.readouterr()
        assert out in p.msgs['TS_VERSION']
dataset/ETHPy150Open virantha/pypdfocr/test/test_tesseract.py/TestTesseract.test_tesseract_version/swapped operands of `in`