[Previous command outputs are truncated. Showing the last 10465 lines of the output below.]
expected_unicode = input_bytes.decode(encoding)
            except LookupError:
                expected_unicode = ""
            try:
                detected_unicode = input_bytes.decode(result["encoding"])
            except (LookupError, UnicodeDecodeError, TypeError):
                detected_unicode = ""
        if result:
            encoding_match = (result["encoding"] or "").lower() == encoding
        else:
            encoding_match = False
        # Only care about mismatches that would actually result in different
        # behavior when decoding
        if not encoding_match and expected_unicode != detected_unicode:
            wrapped_expected = "\n".join(textwrap.wrap(expected_unicode, 100)) + "\n"
            wrapped_detected = "\n".join(textwrap.wrap(detected_unicode, 100)) + "\n"
            diff = "".join(
                list(
                    ndiff(
                        wrapped_expected.splitlines(True), wrapped_detected.splitlines(True)
                    )
                )[:20]
            )
>           all_encodings = chardet.detect_all(input_bytes, ignore_threshold=True)

test.py:105:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

byte_str = bytearray(b'<?xml version="1.0" encoding="MacCyrillic"?>\n<!--\nSource: http://www.aviaport.ru/news/yandex_export.xml\...d\xed\xee\xe9 \xf1\xf2\xf0\xe0\xf5\xee\xe2\xea\xe8.\n\t\t\t</yandex:full-text>\n\t\t</item>\n\n\t</channel>\n</rss>\n'), ignore_threshold = True

    def detect_all(byte_str, ignore_threshold=False):
        """
        Detect all the possible encodings of the given byte string.

        :param byte_str:          The byte sequence to examine.
        :type byte_str:           ``bytes`` or ``bytearray``
        :param ignore_threshold:  Include encodings that are below
                                  ``UniversalDetector.MINIMUM_THRESHOLD``
                                  in results.
        :type ignore_threshold:   ``bool``
        """
        if not isinstance(byte_str, bytearray):
            if not isinstance(byte_str, bytes):
                raise TypeError(
                    f"Expected object of type bytes or bytearray, got: {type(byte_str)}"
                )
            byte_str = bytearray(byte_str)

        detector = UniversalDetector()
        detector.feed(byte_str)
        detector.close()

>       if detector.input_state == InputState.HIGH_BYTE:
E       AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?

chardet/__init__.py:65: AttributeError
_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ test_encoding_detection[tests/MacCyrillic/aug32.hole.ru.xml-maccyrillic] _______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

file_name = 'tests/MacCyrillic/aug32.hole.ru.xml', encoding = 'maccyrillic'

    @pytest.mark.parametrize("file_name, encoding", gen_test_params())
    def test_encoding_detection(file_name, encoding):
        with open(file_name, "rb") as f:
            input_bytes = f.read()
            result = chardet.detect(input_bytes)
            try:
                expected_unicode = input_bytes.decode(encoding)
            except LookupError:
                expected_unicode = ""
            try:
                detected_unicode = input_bytes.decode(result["encoding"])
            except (LookupError, UnicodeDecodeError, TypeError):
                detected_unicode = ""
        if result:
            encoding_match = (result["encoding"] or "").lower() == encoding
        else:
            encoding_match = False
        # Only care about mismatches that would actually result in different
        # behavior when decoding
        if not encoding_match and expected_unicode != detected_unicode:
            wrapped_expected = "\n".join(textwrap.wrap(expected_unicode, 100)) + "\n"
            wrapped_detected = "\n".join(textwrap.wrap(detected_unicode, 100)) + "\n"
            diff = "".join(
                list(
                    ndiff(
                        wrapped_expected.splitlines(True), wrapped_detected.splitlines(True)
                    )
                )[:20]
            )
>           all_encodings = chardet.detect_all(input_bytes, ignore_threshold=True)

test.py:105:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

byte_str = bytearray(b'<?xml version="1.0" encoding="MacCyrillic"?>\n<!--\nSource: http://aug32.hole.ru/afisha/feed.php\nExpect: ...&gt;</description>\n          <link>http://aug32.hole.ru/afisha.htm</link>\n        </item>\n    </channel>\n</rss>\n'), ignore_threshold = True

    def detect_all(byte_str, ignore_threshold=False):
        """
        Detect all the possible encodings of the given byte string.

        :param byte_str:          The byte sequence to examine.
        :type byte_str:           ``bytes`` or ``bytearray``
        :param ignore_threshold:  Include encodings that are below
                                  ``UniversalDetector.MINIMUM_THRESHOLD``
                                  in results.
        :type ignore_threshold:   ``bool``
        """
        if not isinstance(byte_str, bytearray):
            if not isinstance(byte_str, bytes):
                raise TypeError(
                    f"Expected object of type bytes or bytearray, got: {type(byte_str)}"
                )
            byte_str = bytearray(byte_str)

        detector = UniversalDetector()
        detector.feed(byte_str)
        detector.close()

>       if detector.input_state == InputState.HIGH_BYTE:
E       AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?

chardet/__init__.py:65: AttributeError
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ test_encoding_detection[tests/MacCyrillic/forum.template-toolkit.ru.8.xml-maccyrillic] ________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

file_name = 'tests/MacCyrillic/forum.template-toolkit.ru.8.xml', encoding = 'maccyrillic'

    @pytest.mark.parametrize("file_name, encoding", gen_test_params())
    def test_encoding_detection(file_name, encoding):
        with open(file_name, "rb") as f:
            input_bytes = f.read()
            result = chardet.detect(input_bytes)
            try:
                expected_unicode = input_bytes.decode(encoding)
            except LookupError:
                expected_unicode = ""
            try:
                detected_unicode = input_bytes.decode(result["encoding"])
            except (LookupError, UnicodeDecodeError, TypeError):
                detected_unicode = ""
        if result:
            encoding_match = (result["encoding"] or "").lower() == encoding
        else:
            encoding_match = False
        # Only care about mismatches that would actually result in different
        # behavior when decoding
        if not encoding_match and expected_unicode != detected_unicode:
            wrapped_expected = "\n".join(textwrap.wrap(expected_unicode, 100)) + "\n"
            wrapped_detected = "\n".join(textwrap.wrap(detected_unicode, 100)) + "\n"
            diff = "".join(
                list(
                    ndiff(
                        wrapped_expected.splitlines(True), wrapped_detected.splitlines(True)
                    )
                )[:20]
            )
>           all_encodings = chardet.detect_all(input_bytes, ignore_threshold=True)

test.py:105:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

byte_str = bytearray(b'<?xml version="1.0" encoding="MacCyrillic"?>\n<!--\nSource: http://forum.template-toolkit.ru/rss/forum_8.r...8.rss">http://forum.template-toolkit.ru/view_topic/topic_id-53.html?rss</source>\n\t\t</item>\n\t</channel>\n</rss>\n'), ignore_threshold = True

    def detect_all(byte_str, ignore_threshold=False):
        """
        Detect all the possible encodings of the given byte string.

        :param byte_str:          The byte sequence to examine.
        :type byte_str:           ``bytes`` or ``bytearray``
        :param ignore_threshold:  Include encodings that are below
                                  ``UniversalDetector.MINIMUM_THRESHOLD``
                                  in results.
        :type ignore_threshold:   ``bool``
        """
        if not isinstance(byte_str, bytearray):
            if not isinstance(byte_str, bytes):
                raise TypeError(
                    f"Expected object of type bytes or bytearray, got: {type(byte_str)}"
                )
            byte_str = bytearray(byte_str)

        detector = UniversalDetector()
        detector.feed(byte_str)
        detector.close()

>       if detector.input_state == InputState.HIGH_BYTE:
E       AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?

chardet/__init__.py:65: AttributeError
_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ test_encoding_detection[tests/MacCyrillic/kapranoff.ru.xml-maccyrillic] ________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

file_name = 'tests/MacCyrillic/kapranoff.ru.xml', encoding = 'maccyrillic'

    @pytest.mark.parametrize("file_name, encoding", gen_test_params())
    def test_encoding_detection(file_name, encoding):
        with open(file_name, "rb") as f:
            input_bytes = f.read()
            result = chardet.detect(input_bytes)
            try:
                expected_unicode = input_bytes.decode(encoding)
            except LookupError:
                expected_unicode = ""
            try:
                detected_unicode = input_bytes.decode(result["encoding"])
            except (LookupError, UnicodeDecodeError, TypeError):
                detected_unicode = ""
        if result:
  <response clipped><NOTE>Due to the max output limit, only part of the full response has been shown to you.</NOTE>tests/iso-8859-5-russian/music.peeps.ru.xml-iso-8859-5] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-8859-5-russian/aviaport.ru.xml-iso-8859-5] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-8859-5-russian/aug32.hole.ru.xml-iso-8859-5] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-8859-5-russian/forum.template-toolkit.ru.8.xml-iso-8859-5] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-8859-5-russian/kapranoff.ru.xml-iso-8859-5] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-8859-5-russian/money.rin.ru.xml-iso-8859-5] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-8859-5-russian/blog.mlmaster.com.xml-iso-8859-5] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-8859-5-russian/forum.template-toolkit.ru.9.xml-iso-8859-5] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-2022-jp/_ude_1.txt-iso-2022-jp] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/UTF-16LE/nobom-utf16le.txt-utf-16le] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/UTF-16LE/plane1-utf-16le.html-utf-16le] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-8859-1/_ude_1.txt-iso-8859-1] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-8859-1/_ude_5.txt-iso-8859-1] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-8859-1/_ude_3.txt-iso-8859-1] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-8859-1/_ude_6.txt-iso-8859-1] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-8859-1/_ude_4.txt-iso-8859-1] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/iso-8859-1/_ude_2.txt-iso-8859-1] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/Johab/hlpro-readme.txt-johab] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/Johab/mdir-doc.txt-johab] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/Johab/iyagi-readme.txt-johab] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/forum.template-toolkit.ru.1.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/janulalife.blogspot.com.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/greek.ru.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/_ude_1.txt-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/intertat.ru.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/forum.template-toolkit.ru.6.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/_chromium_windows-1251_with_no_encoding_specified.html-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/aif.ru.health.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/newsru.com.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/forum.template-toolkit.ru.4.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/music.peeps.ru.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/aviaport.ru.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/aug32.hole.ru.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/forum.template-toolkit.ru.8.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/kapranoff.ru.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/money.rin.ru.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/blog.mlmaster.com.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/anthropology.ru.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/windows-1251-russian/forum.template-toolkit.ru.9.xml-windows-1251] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/_mozilla_bug9357_text.html-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/sparcs.kaist.ac.kr.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/zangsalang.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/_chromium_windows-949_with_no_encoding_specified.html-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/epitaph.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/jely.pe.kr.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/chisato.info.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/jely.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/blog.rss.naver.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/_ude_euc1.txt-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/poliplus.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/critique.or.kr.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/oroll.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/arts.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/blog.bd-lab.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/scarletkh2.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/acnnewswire.net.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/siwoo.org.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/_ude_euc2.txt-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/lennon81.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/blog.empas.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/birder.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/console.linuxstudy.pe.kr.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/calmguy.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/alogblog.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/tori02.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/kina.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/jowchung.oolim.net.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/ittrend.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/yunho.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/willis.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
FAILED test.py::test_encoding_detection[tests/EUC-KR/xenix.egloos.com.xml-euc-kr] - AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'?
=============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== 374 failed, 1 passed, 6 xfailed in 4.00s ===============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
[The command completed with exit code 1.]
[Current working directory: /workspace/chardet]
[Python interpreter: /usr/bin/python]
[Command finished with exit code 1]