back to Claude Sonnet 3.5 - Fill-in summary
Claude Sonnet 3.5 - Fill-in: chardet
Pytest Summary for test .
status | count |
---|---|
failed | 371 |
passed | 5 |
xfailed | 7 |
total | 383 |
collected | 383 |
Failed pytests:
bom-utf-32-be.srt-utf-32]
bom-utf-32-be.srt-utf-32]
file_name = 'tests/UTF-32/bom-utf-32-be.srt', encoding = 'utf-32' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bom-utf-32-le.srt-utf-32]
bom-utf-32-le.srt-utf-32]
file_name = 'tests/UTF-32/bom-utf-32-le.srt', encoding = 'utf-32' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
azoz.org.xml-euc-jp]
azoz.org.xml-euc-jp]
file_name = 'tests/EUC-JP/azoz.org.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
arclamp.jp.xml-euc-jp]
arclamp.jp.xml-euc-jp]
file_name = 'tests/EUC-JP/arclamp.jp.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aristrist.s57.xrea.com.xml-euc-jp]
aristrist.s57.xrea.com.xml-euc-jp]
file_name = 'tests/EUC-JP/aristrist.s57.xrea.com.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
overcube.com.atom.xml-euc-jp]
overcube.com.atom.xml-euc-jp]
file_name = 'tests/EUC-JP/overcube.com.atom.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
azito.under.jp.xml-euc-jp]
azito.under.jp.xml-euc-jp]
file_name = 'tests/EUC-JP/azito.under.jp.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
ch.kitaguni.tv.xml-euc-jp]
ch.kitaguni.tv.xml-euc-jp]
file_name = 'tests/EUC-JP/ch.kitaguni.tv.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
pinkupa.com.xml-euc-jp]
pinkupa.com.xml-euc-jp]
file_name = 'tests/EUC-JP/pinkupa.com.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
tls.org.xml-euc-jp]
tls.org.xml-euc-jp]
file_name = 'tests/EUC-JP/tls.org.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.kabu-navi.com.xml-euc-jp]
blog.kabu-navi.com.xml-euc-jp]
file_name = 'tests/EUC-JP/blog.kabu-navi.com.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
misuzilla.org.xml-euc-jp]
misuzilla.org.xml-euc-jp]
file_name = 'tests/EUC-JP/misuzilla.org.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_mozilla_bug426271_text-euc-jp.html-euc-jp]
_mozilla_bug426271_text-euc-jp.html-euc-jp]
file_name = 'tests/EUC-JP/_mozilla_bug426271_text-euc-jp.html' encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
club.h14m.org.xml-euc-jp]
club.h14m.org.xml-euc-jp]
file_name = 'tests/EUC-JP/club.h14m.org.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-euc-jp]
_ude_1.txt-euc-jp]
file_name = 'tests/EUC-JP/_ude_1.txt', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_mozilla_bug431054_text.html-euc-jp]
_mozilla_bug431054_text.html-euc-jp]
file_name = 'tests/EUC-JP/_mozilla_bug431054_text.html', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bphrs.net.xml-euc-jp]
bphrs.net.xml-euc-jp]
file_name = 'tests/EUC-JP/bphrs.net.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
furusatonoeki.cutegirl.jp.xml-euc-jp]
furusatonoeki.cutegirl.jp.xml-euc-jp]
file_name = 'tests/EUC-JP/furusatonoeki.cutegirl.jp.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
rdf.ycf.nanet.co.jp.xml-euc-jp]
rdf.ycf.nanet.co.jp.xml-euc-jp]
file_name = 'tests/EUC-JP/rdf.ycf.nanet.co.jp.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
siesta.co.jp.aozora.xml-euc-jp]
siesta.co.jp.aozora.xml-euc-jp]
file_name = 'tests/EUC-JP/siesta.co.jp.aozora.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_mozilla_bug620106_text.html-euc-jp]
_mozilla_bug620106_text.html-euc-jp]
file_name = 'tests/EUC-JP/_mozilla_bug620106_text.html', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
contents-factory.com.xml-euc-jp]
contents-factory.com.xml-euc-jp]
file_name = 'tests/EUC-JP/contents-factory.com.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
overcube.com.xml-euc-jp]
overcube.com.xml-euc-jp]
file_name = 'tests/EUC-JP/overcube.com.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
manana.moo.jp.xml-euc-jp]
manana.moo.jp.xml-euc-jp]
file_name = 'tests/EUC-JP/manana.moo.jp.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
mimizun.com.xml-euc-jp]
mimizun.com.xml-euc-jp]
file_name = 'tests/EUC-JP/mimizun.com.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
yukiboh.moo.jp.xml-euc-jp]
yukiboh.moo.jp.xml-euc-jp]
file_name = 'tests/EUC-JP/yukiboh.moo.jp.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.kabu-navi.com.atom.xml-euc-jp]
blog.kabu-navi.com.atom.xml-euc-jp]
file_name = 'tests/EUC-JP/blog.kabu-navi.com.atom.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aivy.co.jp.xml-euc-jp]
aivy.co.jp.xml-euc-jp]
file_name = 'tests/EUC-JP/aivy.co.jp.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
akaname.main.jp.xml-euc-jp]
akaname.main.jp.xml-euc-jp]
file_name = 'tests/EUC-JP/akaname.main.jp.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
atom.ycf.nanet.co.jp.xml-euc-jp]
atom.ycf.nanet.co.jp.xml-euc-jp]
file_name = 'tests/EUC-JP/atom.ycf.nanet.co.jp.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
artifact-jp.com.xml-euc-jp]
artifact-jp.com.xml-euc-jp]
file_name = 'tests/EUC-JP/artifact-jp.com.xml', encoding = 'euc-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_iso2.txt-iso-2022-kr]
_ude_iso2.txt-iso-2022-kr]
file_name = 'tests/iso-2022-kr/_ude_iso2.txt', encoding = 'iso-2022-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:122: in feed self._esc_charset_prober = EscCharSetProber(self.lang_filter) chardet/escprober.py:18: in __init__ self.coding_sm.append(CodingStateMachine(HZ_SM_MODEL)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =sm = {'char_len_table': (0, 0, 0, 0, 0, 0), 'class_factor': 6, 'class_table': (1, 0, 0, 0, 0, 0, ...), 'language': 'Chinese', ...} def __init__(self, sm): self._model = sm self._curr_byte_pos = 0 self._curr_char_len = 0 self._curr_state = None self.logger = logging.getLogger(__name__) > self.reset() E AttributeError: 'CodingStateMachine' object has no attribute 'reset' chardet/codingstatemachine.py:34: AttributeError
_ude_iso1.txt-iso-2022-kr]
_ude_iso1.txt-iso-2022-kr]
file_name = 'tests/iso-2022-kr/_ude_iso1.txt', encoding = 'iso-2022-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:122: in feed self._esc_charset_prober = EscCharSetProber(self.lang_filter) chardet/escprober.py:18: in __init__ self.coding_sm.append(CodingStateMachine(HZ_SM_MODEL)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =sm = {'char_len_table': (0, 0, 0, 0, 0, 0), 'class_factor': 6, 'class_table': (1, 0, 0, 0, 0, 0, ...), 'language': 'Chinese', ...} def __init__(self, sm): self._model = sm self._curr_byte_pos = 0 self._curr_char_len = 0 self._curr_state = None self.logger = logging.getLogger(__name__) > self.reset() E AttributeError: 'CodingStateMachine' object has no attribute 'reset' chardet/codingstatemachine.py:34: AttributeError
pharmacy.kku.ac.th.analyse1.xml-tis-620]
pharmacy.kku.ac.th.analyse1.xml-tis-620]
file_name = 'tests/TIS-620/pharmacy.kku.ac.th.analyse1.xml' encoding = 'tis-620' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_mozilla_bug488426_text.html-tis-620]
_mozilla_bug488426_text.html-tis-620]
file_name = 'tests/TIS-620/_mozilla_bug488426_text.html', encoding = 'tis-620' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
pharmacy.kku.ac.th.centerlab.xml-tis-620]
pharmacy.kku.ac.th.centerlab.xml-tis-620]
file_name = 'tests/TIS-620/pharmacy.kku.ac.th.centerlab.xml' encoding = 'tis-620' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
opentle.org.xml-tis-620]
opentle.org.xml-tis-620]
file_name = 'tests/TIS-620/opentle.org.xml', encoding = 'tis-620' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
pharmacy.kku.ac.th.healthinfo-ne.xml-tis-620]
pharmacy.kku.ac.th.healthinfo-ne.xml-tis-620]
file_name = 'tests/TIS-620/pharmacy.kku.ac.th.healthinfo-ne.xml' encoding = 'tis-620' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
trickspot.boxchart.com.xml-tis-620]
trickspot.boxchart.com.xml-tis-620]
file_name = 'tests/TIS-620/trickspot.boxchart.com.xml', encoding = 'tis-620' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aug32.hole.ru.xml-koi8-r]
aug32.hole.ru.xml-koi8-r]
file_name = 'tests/KOI8-R/aug32.hole.ru.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
greek.ru.xml-koi8-r]
greek.ru.xml-koi8-r]
file_name = 'tests/KOI8-R/greek.ru.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
intertat.ru.xml-koi8-r]
intertat.ru.xml-koi8-r]
file_name = 'tests/KOI8-R/intertat.ru.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.9.xml-koi8-r]
forum.template-toolkit.ru.9.xml-koi8-r]
file_name = 'tests/KOI8-R/forum.template-toolkit.ru.9.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
janulalife.blogspot.com.xml-koi8-r]
janulalife.blogspot.com.xml-koi8-r]
file_name = 'tests/KOI8-R/janulalife.blogspot.com.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
kapranoff.ru.xml-koi8-r]
kapranoff.ru.xml-koi8-r]
file_name = 'tests/KOI8-R/kapranoff.ru.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
music.peeps.ru.xml-koi8-r]
music.peeps.ru.xml-koi8-r]
file_name = 'tests/KOI8-R/music.peeps.ru.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
susu.ac.ru.xml-koi8-r]
susu.ac.ru.xml-koi8-r]
file_name = 'tests/KOI8-R/susu.ac.ru.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.1.xml-koi8-r]
forum.template-toolkit.ru.1.xml-koi8-r]
file_name = 'tests/KOI8-R/forum.template-toolkit.ru.1.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_chromium_KOI8-R_with_no_encoding_specified.html-koi8-r]
_chromium_KOI8-R_with_no_encoding_specified.html-koi8-r]
file_name = 'tests/KOI8-R/_chromium_KOI8-R_with_no_encoding_specified.html' encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aif.ru.health.xml-koi8-r]
aif.ru.health.xml-koi8-r]
file_name = 'tests/KOI8-R/aif.ru.health.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.6.xml-koi8-r]
forum.template-toolkit.ru.6.xml-koi8-r]
file_name = 'tests/KOI8-R/forum.template-toolkit.ru.6.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.4.xml-koi8-r]
forum.template-toolkit.ru.4.xml-koi8-r]
file_name = 'tests/KOI8-R/forum.template-toolkit.ru.4.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
newsru.com.xml-koi8-r]
newsru.com.xml-koi8-r]
file_name = 'tests/KOI8-R/newsru.com.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.8.xml-koi8-r]
forum.template-toolkit.ru.8.xml-koi8-r]
file_name = 'tests/KOI8-R/forum.template-toolkit.ru.8.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-koi8-r]
_ude_1.txt-koi8-r]
file_name = 'tests/KOI8-R/_ude_1.txt', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
money.rin.ru.xml-koi8-r]
money.rin.ru.xml-koi8-r]
file_name = 'tests/KOI8-R/money.rin.ru.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
koi.kinder.ru.xml-koi8-r]
koi.kinder.ru.xml-koi8-r]
file_name = 'tests/KOI8-R/koi.kinder.ru.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.mlmaster.com.xml-koi8-r]
blog.mlmaster.com.xml-koi8-r]
file_name = 'tests/KOI8-R/blog.mlmaster.com.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aviaport.ru.xml-koi8-r]
aviaport.ru.xml-koi8-r]
file_name = 'tests/KOI8-R/aviaport.ru.xml', encoding = 'koi8-r' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bpm.cult.bg.medusa.4.xml-iso-8859-5]
bpm.cult.bg.medusa.4.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-bulgarian/bpm.cult.bg.medusa.4.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bpm.cult.bg.xml-iso-8859-5]
bpm.cult.bg.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-bulgarian/bpm.cult.bg.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bpm.cult.bg.9.xml-iso-8859-5]
bpm.cult.bg.9.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-bulgarian/bpm.cult.bg.9.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
debian.gabrovo.com.news.xml-iso-8859-5]
debian.gabrovo.com.news.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-bulgarian/debian.gabrovo.com.news.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
ecloga.cult.bg.xml-iso-8859-5]
ecloga.cult.bg.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-bulgarian/ecloga.cult.bg.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bbc.co.uk.popshow.xml-iso-8859-5]
bbc.co.uk.popshow.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-bulgarian/bbc.co.uk.popshow.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aero-bg.com.xml-iso-8859-5]
aero-bg.com.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-bulgarian/aero-bg.com.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bpm.cult.bg.2.xml-iso-8859-5]
bpm.cult.bg.2.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-bulgarian/bpm.cult.bg.2.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
doncho.net.comments.xml-iso-8859-5]
doncho.net.comments.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-bulgarian/doncho.net.comments.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
linux-bg.org.xml-iso-8859-5]
linux-bg.org.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-bulgarian/linux-bg.org.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
ide.li.xml-iso-8859-5]
ide.li.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-bulgarian/ide.li.xml', encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bpm.cult.bg.4.xml-iso-8859-5]
bpm.cult.bg.4.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-bulgarian/bpm.cult.bg.4.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
debian.gabrovo.com.xml-iso-8859-5]
debian.gabrovo.com.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-bulgarian/debian.gabrovo.com.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_2.txt-iso-8859-1]
_ude_2.txt-iso-8859-1]
file_name = 'tests/iso-8859-1/_ude_2.txt', encoding = 'iso-8859-1' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_6.txt-iso-8859-1]
_ude_6.txt-iso-8859-1]
file_name = 'tests/iso-8859-1/_ude_6.txt', encoding = 'iso-8859-1' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_5.txt-iso-8859-1]
_ude_5.txt-iso-8859-1]
file_name = 'tests/iso-8859-1/_ude_5.txt', encoding = 'iso-8859-1' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-iso-8859-1]
_ude_1.txt-iso-8859-1]
file_name = 'tests/iso-8859-1/_ude_1.txt', encoding = 'iso-8859-1' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_3.txt-iso-8859-1]
_ude_3.txt-iso-8859-1]
file_name = 'tests/iso-8859-1/_ude_3.txt', encoding = 'iso-8859-1' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_4.txt-iso-8859-1]
_ude_4.txt-iso-8859-1]
file_name = 'tests/iso-8859-1/_ude_4.txt', encoding = 'iso-8859-1' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
kapranoff.ru.xml-ibm866]
kapranoff.ru.xml-ibm866]
file_name = 'tests/IBM866/kapranoff.ru.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
susu.ac.ru.xml-ibm866]
susu.ac.ru.xml-ibm866]
file_name = 'tests/IBM866/susu.ac.ru.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
intertat.ru.xml-ibm866]
intertat.ru.xml-ibm866]
file_name = 'tests/IBM866/intertat.ru.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aug32.hole.ru.xml-ibm866]
aug32.hole.ru.xml-ibm866]
file_name = 'tests/IBM866/aug32.hole.ru.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.9.xml-ibm866]
forum.template-toolkit.ru.9.xml-ibm866]
file_name = 'tests/IBM866/forum.template-toolkit.ru.9.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
newsru.com.xml-ibm866]
newsru.com.xml-ibm866]
file_name = 'tests/IBM866/newsru.com.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
greek.ru.xml-ibm866]
greek.ru.xml-ibm866]
file_name = 'tests/IBM866/greek.ru.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.4.xml-ibm866]
forum.template-toolkit.ru.4.xml-ibm866]
file_name = 'tests/IBM866/forum.template-toolkit.ru.4.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
janulalife.blogspot.com.xml-ibm866]
janulalife.blogspot.com.xml-ibm866]
file_name = 'tests/IBM866/janulalife.blogspot.com.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aif.ru.health.xml-ibm866]
aif.ru.health.xml-ibm866]
file_name = 'tests/IBM866/aif.ru.health.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
money.rin.ru.xml-ibm866]
money.rin.ru.xml-ibm866]
file_name = 'tests/IBM866/money.rin.ru.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.8.xml-ibm866]
forum.template-toolkit.ru.8.xml-ibm866]
file_name = 'tests/IBM866/forum.template-toolkit.ru.8.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aviaport.ru.xml-ibm866]
aviaport.ru.xml-ibm866]
file_name = 'tests/IBM866/aviaport.ru.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.1.xml-ibm866]
forum.template-toolkit.ru.1.xml-ibm866]
file_name = 'tests/IBM866/forum.template-toolkit.ru.1.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
music.peeps.ru.xml-ibm866]
music.peeps.ru.xml-ibm866]
file_name = 'tests/IBM866/music.peeps.ru.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-ibm866]
_ude_1.txt-ibm866]
file_name = 'tests/IBM866/_ude_1.txt', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.mlmaster.com.xml-ibm866]
blog.mlmaster.com.xml-ibm866]
file_name = 'tests/IBM866/blog.mlmaster.com.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.6.xml-ibm866]
forum.template-toolkit.ru.6.xml-ibm866]
file_name = 'tests/IBM866/forum.template-toolkit.ru.6.xml', encoding = 'ibm866' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
nobom-utf32le.txt-utf-32le]
nobom-utf32le.txt-utf-32le]
file_name = 'tests/UTF-32LE/nobom-utf32le.txt', encoding = 'utf-32le' @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'D\x00\x00\x00a\x00\x00\x00t\x00\x00\x00e\x00\x00\x00T\x00\x00\x00i\x00\x00\x00m\x00\x00\x00e\x00\x00\x00,\...x00\x00\x00.\x00\x00\x000\x00\x00\x008\x00\x00\x003\x00\x00\x005\x00\x00\x003\x00\x00\x00\r\x00\x00\x00\n\x00\x00\x00') 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
plane1-utf-32le.html-utf-32le]
plane1-utf-32le.html-utf-32le]
file_name = 'tests/UTF-32LE/plane1-utf-32le.html', encoding = 'utf-32le' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
nobom-utf16be.txt-utf-16be]
nobom-utf16be.txt-utf-16be]
file_name = 'tests/UTF-16BE/nobom-utf16be.txt', encoding = 'utf-16be' @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'\x00D\x00a\x00t\x00e\x00T\x00i\x00m\x00e\x00,\x00B\x00i\x00d\x00,\x00A\x00s\x00k\x00\r\x00\n\x000\x007\x00...\x000\x00.\x003\x001\x009\x00,\x001\x00.\x000\x008\x003\x000\x007\x00,\x001\x00.\x000\x008\x003\x005\x003\x00\r\x00\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
plane1-utf-16be.html-utf-16be]
plane1-utf-16be.html-utf-16be]
file_name = 'tests/UTF-16BE/plane1-utf-16be.html', encoding = 'utf-16be' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_2.txt-windows-1252]
_ude_2.txt-windows-1252]
file_name = 'tests/windows-1252/_ude_2.txt', encoding = 'windows-1252' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
github_bug_9.txt-windows-1252]
github_bug_9.txt-windows-1252]
file_name = 'tests/windows-1252/github_bug_9.txt', encoding = 'windows-1252' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-windows-1252]
_ude_1.txt-windows-1252]
file_name = 'tests/windows-1252/_ude_1.txt', encoding = 'windows-1252' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_mozilla_bug421271_text.html-windows-1252]
_mozilla_bug421271_text.html-windows-1252]
file_name = 'tests/windows-1252/_mozilla_bug421271_text.html' encoding = 'windows-1252' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-iso-2022-jp]
_ude_1.txt-iso-2022-jp]
file_name = 'tests/iso-2022-jp/_ude_1.txt', encoding = 'iso-2022-jp' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:122: in feed self._esc_charset_prober = EscCharSetProber(self.lang_filter) chardet/escprober.py:18: in __init__ self.coding_sm.append(CodingStateMachine(HZ_SM_MODEL)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =sm = {'char_len_table': (0, 0, 0, 0, 0, 0), 'class_factor': 6, 'class_table': (1, 0, 0, 0, 0, 0, ...), 'language': 'Chinese', ...} def __init__(self, sm): self._model = sm self._curr_byte_pos = 0 self._curr_char_len = 0 self._curr_state = None self.logger = logging.getLogger(__name__) > self.reset() E AttributeError: 'CodingStateMachine' object has no attribute 'reset' chardet/codingstatemachine.py:34: AttributeError
nobom-utf32be.txt-utf-32be]
nobom-utf32be.txt-utf-32be]
file_name = 'tests/UTF-32BE/nobom-utf32be.txt', encoding = 'utf-32be' @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'\x00\x00\x00D\x00\x00\x00a\x00\x00\x00t\x00\x00\x00e\x00\x00\x00T\x00\x00\x00i\x00\x00\x00m\x00\x00\x00e\x...00\x00\x001\x00\x00\x00.\x00\x00\x000\x00\x00\x008\x00\x00\x003\x00\x00\x005\x00\x00\x003\x00\x00\x00\r\x00\x00\x00\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
plane1-utf-32be.html-utf-32be]
plane1-utf-32be.html-utf-32be]
file_name = 'tests/UTF-32BE/plane1-utf-32be.html', encoding = 'utf-32be' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
kapranoff.ru.xml-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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aif.ru.health.xml-maccyrillic]
aif.ru.health.xml-maccyrillic]
file_name = 'tests/MacCyrillic/aif.ru.health.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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.mlmaster.com.xml-maccyrillic]
blog.mlmaster.com.xml-maccyrillic]
file_name = 'tests/MacCyrillic/blog.mlmaster.com.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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.8.xml-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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-maccyrillic]
_ude_1.txt-maccyrillic]
file_name = 'tests/MacCyrillic/_ude_1.txt', 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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
greek.ru.xml-maccyrillic]
greek.ru.xml-maccyrillic]
file_name = 'tests/MacCyrillic/greek.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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
koi.kinder.ru.xml-maccyrillic]
koi.kinder.ru.xml-maccyrillic]
file_name = 'tests/MacCyrillic/koi.kinder.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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
susu.ac.ru.xml-maccyrillic]
susu.ac.ru.xml-maccyrillic]
file_name = 'tests/MacCyrillic/susu.ac.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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
intertat.ru.xml-maccyrillic]
intertat.ru.xml-maccyrillic]
file_name = 'tests/MacCyrillic/intertat.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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.4.xml-maccyrillic]
forum.template-toolkit.ru.4.xml-maccyrillic]
file_name = 'tests/MacCyrillic/forum.template-toolkit.ru.4.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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aug32.hole.ru.xml-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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
newsru.com.xml-maccyrillic]
newsru.com.xml-maccyrillic]
file_name = 'tests/MacCyrillic/newsru.com.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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aviaport.ru.xml-maccyrillic]
aviaport.ru.xml-maccyrillic]
file_name = 'tests/MacCyrillic/aviaport.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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
music.peeps.ru.xml-maccyrillic]
music.peeps.ru.xml-maccyrillic]
file_name = 'tests/MacCyrillic/music.peeps.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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.9.xml-maccyrillic]
forum.template-toolkit.ru.9.xml-maccyrillic]
file_name = 'tests/MacCyrillic/forum.template-toolkit.ru.9.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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
money.rin.ru.xml-maccyrillic]
money.rin.ru.xml-maccyrillic]
file_name = 'tests/MacCyrillic/money.rin.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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.6.xml-maccyrillic]
forum.template-toolkit.ru.6.xml-maccyrillic]
file_name = 'tests/MacCyrillic/forum.template-toolkit.ru.6.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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bom-utf-16-le.srt-utf-16]
bom-utf-16-le.srt-utf-16]
file_name = 'tests/UTF-16/bom-utf-16-le.srt', encoding = 'utf-16' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bom-utf-16-be.srt-utf-16]
bom-utf-16-be.srt-utf-16]
file_name = 'tests/UTF-16/bom-utf-16-be.srt', encoding = 'utf-16' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-ibm855]
_ude_1.txt-ibm855]
file_name = 'tests/IBM855/_ude_1.txt', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aif.ru.health.xml-ibm855]
aif.ru.health.xml-ibm855]
file_name = 'tests/IBM855/aif.ru.health.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
greek.ru.xml-ibm855]
greek.ru.xml-ibm855]
file_name = 'tests/IBM855/greek.ru.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
music.peeps.ru.xml-ibm855]
music.peeps.ru.xml-ibm855]
file_name = 'tests/IBM855/music.peeps.ru.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
newsru.com.xml-ibm855]
newsru.com.xml-ibm855]
file_name = 'tests/IBM855/newsru.com.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
money.rin.ru.xml-ibm855]
money.rin.ru.xml-ibm855]
file_name = 'tests/IBM855/money.rin.ru.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
susu.ac.ru.xml-ibm855]
susu.ac.ru.xml-ibm855]
file_name = 'tests/IBM855/susu.ac.ru.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aviaport.ru.xml-ibm855]
aviaport.ru.xml-ibm855]
file_name = 'tests/IBM855/aviaport.ru.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aug32.hole.ru.xml-ibm855]
aug32.hole.ru.xml-ibm855]
file_name = 'tests/IBM855/aug32.hole.ru.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
intertat.ru.xml-ibm855]
intertat.ru.xml-ibm855]
file_name = 'tests/IBM855/intertat.ru.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.mlmaster.com.xml-ibm855]
blog.mlmaster.com.xml-ibm855]
file_name = 'tests/IBM855/blog.mlmaster.com.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.9.xml-ibm855]
forum.template-toolkit.ru.9.xml-ibm855]
file_name = 'tests/IBM855/forum.template-toolkit.ru.9.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.8.xml-ibm855]
forum.template-toolkit.ru.8.xml-ibm855]
file_name = 'tests/IBM855/forum.template-toolkit.ru.8.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
kapranoff.ru.xml-ibm855]
kapranoff.ru.xml-ibm855]
file_name = 'tests/IBM855/kapranoff.ru.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
janulalife.blogspot.com.xml-ibm855]
janulalife.blogspot.com.xml-ibm855]
file_name = 'tests/IBM855/janulalife.blogspot.com.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.6.xml-ibm855]
forum.template-toolkit.ru.6.xml-ibm855]
file_name = 'tests/IBM855/forum.template-toolkit.ru.6.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.4.xml-ibm855]
forum.template-toolkit.ru.4.xml-ibm855]
file_name = 'tests/IBM855/forum.template-toolkit.ru.4.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.1.xml-ibm855]
forum.template-toolkit.ru.1.xml-ibm855]
file_name = 'tests/IBM855/forum.template-toolkit.ru.1.xml', encoding = 'ibm855' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-iso-8859-7]
_ude_1.txt-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/_ude_1.txt', encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
disabled.gr.xml-iso-8859-7]
disabled.gr.xml-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/disabled.gr.xml', encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_chromium_ISO-8859-7_with_no_encoding_specified.html-iso-8859-7]
_chromium_ISO-8859-7_with_no_encoding_specified.html-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/_chromium_ISO-8859-7_with_no_encoding_specified.html' encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
naftemporiki.gr.spo.xml-iso-8859-7]
naftemporiki.gr.spo.xml-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/naftemporiki.gr.spo.xml' encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
naftemporiki.gr.bus.xml-iso-8859-7]
naftemporiki.gr.bus.xml-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/naftemporiki.gr.bus.xml' encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
naftemporiki.gr.mrk.xml-iso-8859-7]
naftemporiki.gr.mrk.xml-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/naftemporiki.gr.mrk.xml' encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_greek.txt-iso-8859-7]
_ude_greek.txt-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/_ude_greek.txt', encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
naftemporiki.gr.fin.xml-iso-8859-7]
naftemporiki.gr.fin.xml-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/naftemporiki.gr.fin.xml' encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_3.txt-iso-8859-7]
_ude_3.txt-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/_ude_3.txt', encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
naftemporiki.gr.mrt.xml-iso-8859-7]
naftemporiki.gr.mrt.xml-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/naftemporiki.gr.mrt.xml' encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
naftemporiki.gr.wld.xml-iso-8859-7]
naftemporiki.gr.wld.xml-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/naftemporiki.gr.wld.xml' encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_2.txt-iso-8859-7]
_ude_2.txt-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/_ude_2.txt', encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
naftemporiki.gr.cmm.xml-iso-8859-7]
naftemporiki.gr.cmm.xml-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/naftemporiki.gr.cmm.xml' encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
hotstation.gr.xml-iso-8859-7]
hotstation.gr.xml-iso-8859-7]
file_name = 'tests/iso-8859-7-greek/hotstation.gr.xml', encoding = 'iso-8859-7' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
softsea.net.xml-gb2312]
softsea.net.xml-gb2312]
file_name = 'tests/GB2312/softsea.net.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
w3cn.org.xml-gb2312]
w3cn.org.xml-gb2312]
file_name = 'tests/GB2312/w3cn.org.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
godthink.blogsome.com.xml-gb2312]
godthink.blogsome.com.xml-gb2312]
file_name = 'tests/GB2312/godthink.blogsome.com.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
14.blog.westca.com.xml-gb2312]
14.blog.westca.com.xml-gb2312]
file_name = 'tests/GB2312/14.blog.westca.com.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
pda.blogsome.com.xml-gb2312]
pda.blogsome.com.xml-gb2312]
file_name = 'tests/GB2312/pda.blogsome.com.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
eighthday.blogspot.com.xml-gb2312]
eighthday.blogspot.com.xml-gb2312]
file_name = 'tests/GB2312/eighthday.blogspot.com.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
cnblog.org.xml-gb2312]
cnblog.org.xml-gb2312]
file_name = 'tests/GB2312/cnblog.org.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
coverer.com.xml-gb2312]
coverer.com.xml-gb2312]
file_name = 'tests/GB2312/coverer.com.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
cappuccinos.3322.org.xml-gb2312]
cappuccinos.3322.org.xml-gb2312]
file_name = 'tests/GB2312/cappuccinos.3322.org.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
luciferwang.blogcn.com.xml-gb2312]
luciferwang.blogcn.com.xml-gb2312]
file_name = 'tests/GB2312/luciferwang.blogcn.com.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
2.blog.westca.com.xml-gb2312]
2.blog.westca.com.xml-gb2312]
file_name = 'tests/GB2312/2.blog.westca.com.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
xy15400.blogcn.com.xml-gb2312]
xy15400.blogcn.com.xml-gb2312]
file_name = 'tests/GB2312/xy15400.blogcn.com.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
cindychen.com.xml-gb2312]
cindychen.com.xml-gb2312]
file_name = 'tests/GB2312/cindychen.com.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
acnnewswire.net.xml-gb2312]
acnnewswire.net.xml-gb2312]
file_name = 'tests/GB2312/acnnewswire.net.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_chromium_gb18030_with_no_encoding_specified.html.xml-gb2312]
_chromium_gb18030_with_no_encoding_specified.html.xml-gb2312]
file_name = 'tests/GB2312/_chromium_gb18030_with_no_encoding_specified.html.xml' encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
chen56.blogcn.com.xml-gb2312]
chen56.blogcn.com.xml-gb2312]
file_name = 'tests/GB2312/chen56.blogcn.com.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
lily.blogsome.com.xml-gb2312]
lily.blogsome.com.xml-gb2312]
file_name = 'tests/GB2312/lily.blogsome.com.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
jjgod.3322.org.xml-gb2312]
jjgod.3322.org.xml-gb2312]
file_name = 'tests/GB2312/jjgod.3322.org.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_mozilla_bug171813_text.html-gb2312]
_mozilla_bug171813_text.html-gb2312]
file_name = 'tests/GB2312/_mozilla_bug171813_text.html', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bbs.blogsome.com.xml-gb2312]
bbs.blogsome.com.xml-gb2312]
file_name = 'tests/GB2312/bbs.blogsome.com.xml', encoding = 'gb2312' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
plane1-utf-16le.html-utf-16le]
plane1-utf-16le.html-utf-16le]
file_name = 'tests/UTF-16LE/plane1-utf-16le.html', encoding = 'utf-16le' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
nobom-utf16le.txt-utf-16le]
nobom-utf16le.txt-utf-16le]
file_name = 'tests/UTF-16LE/nobom-utf16le.txt', encoding = 'utf-16le' @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'D\x00a\x00t\x00e\x00T\x00i\x00m\x00e\x00,\x00B\x00i\x00d\x00,\x00A\x00s\x00k\x00\r\x00\n\x000\x007\x00/\x0...0\x00.\x003\x001\x009\x00,\x001\x00.\x000\x008\x003\x000\x007\x00,\x001\x00.\x000\x008\x003\x005\x003\x00\r\x00\n\x00') 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
aviaport.ru.xml-windows-1251]
aviaport.ru.xml-windows-1251]
file_name = 'tests/windows-1251-russian/aviaport.ru.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.9.xml-windows-1251]
forum.template-toolkit.ru.9.xml-windows-1251]
file_name = 'tests/windows-1251-russian/forum.template-toolkit.ru.9.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.4.xml-windows-1251]
forum.template-toolkit.ru.4.xml-windows-1251]
file_name = 'tests/windows-1251-russian/forum.template-toolkit.ru.4.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aug32.hole.ru.xml-windows-1251]
aug32.hole.ru.xml-windows-1251]
file_name = 'tests/windows-1251-russian/aug32.hole.ru.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.1.xml-windows-1251]
forum.template-toolkit.ru.1.xml-windows-1251]
file_name = 'tests/windows-1251-russian/forum.template-toolkit.ru.1.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.mlmaster.com.xml-windows-1251]
blog.mlmaster.com.xml-windows-1251]
file_name = 'tests/windows-1251-russian/blog.mlmaster.com.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
newsru.com.xml-windows-1251]
newsru.com.xml-windows-1251]
file_name = 'tests/windows-1251-russian/newsru.com.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
kapranoff.ru.xml-windows-1251]
kapranoff.ru.xml-windows-1251]
file_name = 'tests/windows-1251-russian/kapranoff.ru.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_chromium_windows-1251_with_no_encoding_specified.html-windows-1251]
_chromium_windows-1251_with_no_encoding_specified.html-windows-1251]
file_name = 'tests/windows-1251-russian/_chromium_windows-1251_with_no_encoding_specified.html' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aif.ru.health.xml-windows-1251]
aif.ru.health.xml-windows-1251]
file_name = 'tests/windows-1251-russian/aif.ru.health.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
janulalife.blogspot.com.xml-windows-1251]
janulalife.blogspot.com.xml-windows-1251]
file_name = 'tests/windows-1251-russian/janulalife.blogspot.com.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
intertat.ru.xml-windows-1251]
intertat.ru.xml-windows-1251]
file_name = 'tests/windows-1251-russian/intertat.ru.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
music.peeps.ru.xml-windows-1251]
music.peeps.ru.xml-windows-1251]
file_name = 'tests/windows-1251-russian/music.peeps.ru.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
anthropology.ru.xml-windows-1251]
anthropology.ru.xml-windows-1251]
file_name = 'tests/windows-1251-russian/anthropology.ru.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
greek.ru.xml-windows-1251]
greek.ru.xml-windows-1251]
file_name = 'tests/windows-1251-russian/greek.ru.xml', encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.6.xml-windows-1251]
forum.template-toolkit.ru.6.xml-windows-1251]
file_name = 'tests/windows-1251-russian/forum.template-toolkit.ru.6.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.8.xml-windows-1251]
forum.template-toolkit.ru.8.xml-windows-1251]
file_name = 'tests/windows-1251-russian/forum.template-toolkit.ru.8.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-windows-1251]
_ude_1.txt-windows-1251]
file_name = 'tests/windows-1251-russian/_ude_1.txt', encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
money.rin.ru.xml-windows-1251]
money.rin.ru.xml-windows-1251]
file_name = 'tests/windows-1251-russian/money.rin.ru.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
pcplus.co.il.xml-windows-1255]
pcplus.co.il.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/pcplus.co.il.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
sharks.co.il.xml-windows-1255]
sharks.co.il.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/sharks.co.il.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_chromium_windows-1255_with_no_encoding_specified.html-windows-1255]
_chromium_windows-1255_with_no_encoding_specified.html-windows-1255]
file_name = 'tests/windows-1255-hebrew/_chromium_windows-1255_with_no_encoding_specified.html' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_he2.txt-windows-1255]
_ude_he2.txt-windows-1255]
file_name = 'tests/windows-1255-hebrew/_ude_he2.txt', encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
law.co.il.xml-windows-1255]
law.co.il.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/law.co.il.xml', encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
notes.co.il.7.xml-windows-1255]
notes.co.il.7.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/notes.co.il.7.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_he1.txt-windows-1255]
_ude_he1.txt-windows-1255]
file_name = 'tests/windows-1255-hebrew/_ude_he1.txt', encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
hagada.org.il.xml-windows-1255]
hagada.org.il.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/hagada.org.il.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
whatsup.org.il.xml-windows-1255]
whatsup.org.il.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/whatsup.org.il.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
hevra.org.il.xml-windows-1255]
hevra.org.il.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/hevra.org.il.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
notes.co.il.6.xml-windows-1255]
notes.co.il.6.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/notes.co.il.6.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
exego.net.2.xml-windows-1255]
exego.net.2.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/exego.net.2.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
info.org.il.xml-windows-1255]
info.org.il.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/info.org.il.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_chromium_ISO-8859-8_with_no_encoding_specified.html-windows-1255]
_chromium_ISO-8859-8_with_no_encoding_specified.html-windows-1255]
file_name = 'tests/windows-1255-hebrew/_chromium_ISO-8859-8_with_no_encoding_specified.html' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
carshops.co.il.xml-windows-1255]
carshops.co.il.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/carshops.co.il.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
notes.co.il.50.xml-windows-1255]
notes.co.il.50.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/notes.co.il.50.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
notes.co.il.8.xml-windows-1255]
notes.co.il.8.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/notes.co.il.8.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_he3.txt-windows-1255]
_ude_he3.txt-windows-1255]
file_name = 'tests/windows-1255-hebrew/_ude_he3.txt', encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
infomed.co.il.xml-windows-1255]
infomed.co.il.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/infomed.co.il.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
maakav.org.xml-windows-1255]
maakav.org.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/maakav.org.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
hydepark.hevre.co.il.7957.xml-windows-1255]
hydepark.hevre.co.il.7957.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/hydepark.hevre.co.il.7957.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
neviim.net.xml-windows-1255]
neviim.net.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/neviim.net.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
halemo.net.edoar.xml-windows-1255]
halemo.net.edoar.xml-windows-1255]
file_name = 'tests/windows-1255-hebrew/halemo.net.edoar.xml' encoding = 'windows-1255' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-iso-8859-9]
_ude_1.txt-iso-8859-9]
file_name = 'tests/iso-8859-9-turkish/_ude_1.txt', encoding = 'iso-8859-9' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_2.txt-iso-8859-9]
_ude_2.txt-iso-8859-9]
file_name = 'tests/iso-8859-9-turkish/_ude_2.txt', encoding = 'iso-8859-9' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
subtitle.srt-iso-8859-9]
subtitle.srt-iso-8859-9]
file_name = 'tests/iso-8859-9-turkish/subtitle.srt', encoding = 'iso-8859-9' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
divxplanet.com.xml-iso-8859-9]
divxplanet.com.xml-iso-8859-9]
file_name = 'tests/iso-8859-9-turkish/divxplanet.com.xml' encoding = 'iso-8859-9' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
wikitop_tr_ISO-8859-9.txt-iso-8859-9]
wikitop_tr_ISO-8859-9.txt-iso-8859-9]
file_name = 'tests/iso-8859-9-turkish/wikitop_tr_ISO-8859-9.txt' encoding = 'iso-8859-9' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
myblog.pchome.com.tw.xml-big5]
myblog.pchome.com.tw.xml-big5]
file_name = 'tests/Big5/myblog.pchome.com.tw.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.worren.net.xml-big5]
blog.worren.net.xml-big5]
file_name = 'tests/Big5/blog.worren.net.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
digitalwall.com.xml-big5]
digitalwall.com.xml-big5]
file_name = 'tests/Big5/digitalwall.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
oui-design.com.xml-big5]
oui-design.com.xml-big5]
file_name = 'tests/Big5/oui-design.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
unoriginalblog.com.xml-big5]
unoriginalblog.com.xml-big5]
file_name = 'tests/Big5/unoriginalblog.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_chromium_Big5_with_no_encoding_specified.html-big5]
_chromium_Big5_with_no_encoding_specified.html-big5]
file_name = 'tests/Big5/_chromium_Big5_with_no_encoding_specified.html' encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
letterlego.blogspot.com.xml-big5]
letterlego.blogspot.com.xml-big5]
file_name = 'tests/Big5/letterlego.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
linyijen.blogspot.com.xml-big5]
linyijen.blogspot.com.xml-big5]
file_name = 'tests/Big5/linyijen.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
ke207.blogspot.com.xml-big5]
ke207.blogspot.com.xml-big5]
file_name = 'tests/Big5/ke207.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
upsaid.com.xml-big5]
upsaid.com.xml-big5]
file_name = 'tests/Big5/upsaid.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
fudesign.blogspot.com.xml-big5]
fudesign.blogspot.com.xml-big5]
file_name = 'tests/Big5/fudesign.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
catshadow.blogspot.com.xml-big5]
catshadow.blogspot.com.xml-big5]
file_name = 'tests/Big5/catshadow.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
marilynwu.blogspot.com.xml-big5]
marilynwu.blogspot.com.xml-big5]
file_name = 'tests/Big5/marilynwu.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
leavesth.blogspot.com.xml-big5]
leavesth.blogspot.com.xml-big5]
file_name = 'tests/Big5/leavesth.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
sylvia1976.blogspot.com.xml-big5]
sylvia1976.blogspot.com.xml-big5]
file_name = 'tests/Big5/sylvia1976.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
coolloud.org.tw.xml-big5]
coolloud.org.tw.xml-big5]
file_name = 'tests/Big5/coolloud.org.tw.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-big5]
_ude_1.txt-big5]
file_name = 'tests/Big5/_ude_1.txt', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
ebao.us.xml-big5]
ebao.us.xml-big5]
file_name = 'tests/Big5/ebao.us.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
sinica.edu.tw.xml-big5]
sinica.edu.tw.xml-big5]
file_name = 'tests/Big5/sinica.edu.tw.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
ytc.blogspot.com.xml-big5]
ytc.blogspot.com.xml-big5]
file_name = 'tests/Big5/ytc.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
willythecop.blogspot.com.xml-big5]
willythecop.blogspot.com.xml-big5]
file_name = 'tests/Big5/willythecop.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
0804.blogspot.com.xml-big5]
0804.blogspot.com.xml-big5]
file_name = 'tests/Big5/0804.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
sanwenji.blogspot.com.xml-big5]
sanwenji.blogspot.com.xml-big5]
file_name = 'tests/Big5/sanwenji.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
kafkatseng.blogspot.com.xml-big5]
kafkatseng.blogspot.com.xml-big5]
file_name = 'tests/Big5/kafkatseng.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
tlkkuo.blogspot.com.xml-big5]
tlkkuo.blogspot.com.xml-big5]
file_name = 'tests/Big5/tlkkuo.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
carbonxiv.blogspot.com.xml-big5]
carbonxiv.blogspot.com.xml-big5]
file_name = 'tests/Big5/carbonxiv.blogspot.com.xml', encoding = 'big5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
hlpro-readme.txt-johab]
hlpro-readme.txt-johab]
file_name = 'tests/Johab/hlpro-readme.txt', encoding = 'johab' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
iyagi-readme.txt-johab]
iyagi-readme.txt-johab]
file_name = 'tests/Johab/iyagi-readme.txt', encoding = 'johab' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
mdir-doc.txt-johab]
mdir-doc.txt-johab]
file_name = 'tests/Johab/mdir-doc.txt', encoding = 'johab' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
chisato.info.xml-euc-kr]
chisato.info.xml-euc-kr]
file_name = 'tests/EUC-KR/chisato.info.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
xenix.egloos.com.xml-euc-kr]
xenix.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/xenix.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
zangsalang.egloos.com.xml-euc-kr]
zangsalang.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/zangsalang.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
scarletkh2.egloos.com.xml-euc-kr]
scarletkh2.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/scarletkh2.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
epitaph.egloos.com.xml-euc-kr]
epitaph.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/epitaph.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
arts.egloos.com.xml-euc-kr]
arts.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/arts.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
willis.egloos.com.xml-euc-kr]
willis.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/willis.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.empas.com.xml-euc-kr]
blog.empas.com.xml-euc-kr]
file_name = 'tests/EUC-KR/blog.empas.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
alogblog.com.xml-euc-kr]
alogblog.com.xml-euc-kr]
file_name = 'tests/EUC-KR/alogblog.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
birder.egloos.com.xml-euc-kr]
birder.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/birder.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
tori02.egloos.com.xml-euc-kr]
tori02.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/tori02.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
sparcs.kaist.ac.kr.xml-euc-kr]
sparcs.kaist.ac.kr.xml-euc-kr]
file_name = 'tests/EUC-KR/sparcs.kaist.ac.kr.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.rss.naver.com.xml-euc-kr]
blog.rss.naver.com.xml-euc-kr]
file_name = 'tests/EUC-KR/blog.rss.naver.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
console.linuxstudy.pe.kr.xml-euc-kr]
console.linuxstudy.pe.kr.xml-euc-kr]
file_name = 'tests/EUC-KR/console.linuxstudy.pe.kr.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
yunho.egloos.com.xml-euc-kr]
yunho.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/yunho.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
jely.pe.kr.xml-euc-kr]
jely.pe.kr.xml-euc-kr]
file_name = 'tests/EUC-KR/jely.pe.kr.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_chromium_windows-949_with_no_encoding_specified.html-euc-kr]
_chromium_windows-949_with_no_encoding_specified.html-euc-kr]
file_name = 'tests/EUC-KR/_chromium_windows-949_with_no_encoding_specified.html' encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
siwoo.org.xml-euc-kr]
siwoo.org.xml-euc-kr]
file_name = 'tests/EUC-KR/siwoo.org.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_euc2.txt-euc-kr]
_ude_euc2.txt-euc-kr]
file_name = 'tests/EUC-KR/_ude_euc2.txt', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
jowchung.oolim.net.xml-euc-kr]
jowchung.oolim.net.xml-euc-kr]
file_name = 'tests/EUC-KR/jowchung.oolim.net.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
calmguy.egloos.com.xml-euc-kr]
calmguy.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/calmguy.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
kina.egloos.com.xml-euc-kr]
kina.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/kina.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
poliplus.egloos.com.xml-euc-kr]
poliplus.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/poliplus.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.bd-lab.com.xml-euc-kr]
blog.bd-lab.com.xml-euc-kr]
file_name = 'tests/EUC-KR/blog.bd-lab.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
critique.or.kr.xml-euc-kr]
critique.or.kr.xml-euc-kr]
file_name = 'tests/EUC-KR/critique.or.kr.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_euc1.txt-euc-kr]
_ude_euc1.txt-euc-kr]
file_name = 'tests/EUC-KR/_ude_euc1.txt', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_mozilla_bug9357_text.html-euc-kr]
_mozilla_bug9357_text.html-euc-kr]
file_name = 'tests/EUC-KR/_mozilla_bug9357_text.html', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
oroll.egloos.com.xml-euc-kr]
oroll.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/oroll.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
ittrend.egloos.com.xml-euc-kr]
ittrend.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/ittrend.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
acnnewswire.net.xml-euc-kr]
acnnewswire.net.xml-euc-kr]
file_name = 'tests/EUC-KR/acnnewswire.net.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
jely.egloos.com.xml-euc-kr]
jely.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/jely.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
lennon81.egloos.com.xml-euc-kr]
lennon81.egloos.com.xml-euc-kr]
file_name = 'tests/EUC-KR/lennon81.egloos.com.xml', encoding = 'euc-kr' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
ricanet.com.xml-cp949]
ricanet.com.xml-cp949]
file_name = 'tests/CP949/ricanet.com.xml', encoding = 'cp949' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
y-moto.com.xml-cp932]
y-moto.com.xml-cp932]
file_name = 'tests/CP932/y-moto.com.xml', encoding = 'cp932' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
www2.chuo-u.ac.jp-suishin.xml-cp932]
www2.chuo-u.ac.jp-suishin.xml-cp932]
file_name = 'tests/CP932/www2.chuo-u.ac.jp-suishin.xml', encoding = 'cp932' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
hardsoft.at.webry.info.xml-cp932]
hardsoft.at.webry.info.xml-cp932]
file_name = 'tests/CP932/hardsoft.at.webry.info.xml', encoding = 'cp932' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
susu.ac.ru.xml-iso-8859-5]
susu.ac.ru.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/susu.ac.ru.xml', encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.9.xml-iso-8859-5]
forum.template-toolkit.ru.9.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/forum.template-toolkit.ru.9.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
money.rin.ru.xml-iso-8859-5]
money.rin.ru.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/money.rin.ru.xml', encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aviaport.ru.xml-iso-8859-5]
aviaport.ru.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/aviaport.ru.xml', encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.8.xml-iso-8859-5]
forum.template-toolkit.ru.8.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/forum.template-toolkit.ru.8.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.4.xml-iso-8859-5]
forum.template-toolkit.ru.4.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/forum.template-toolkit.ru.4.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
greek.ru.xml-iso-8859-5]
greek.ru.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/greek.ru.xml', encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_chromium_ISO-8859-5_with_no_encoding_specified.html-iso-8859-5]
_chromium_ISO-8859-5_with_no_encoding_specified.html-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/_chromium_ISO-8859-5_with_no_encoding_specified.html' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
newsru.com.xml-iso-8859-5]
newsru.com.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/newsru.com.xml', encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
kapranoff.ru.xml-iso-8859-5]
kapranoff.ru.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/kapranoff.ru.xml', encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aug32.hole.ru.xml-iso-8859-5]
aug32.hole.ru.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/aug32.hole.ru.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.mlmaster.com.xml-iso-8859-5]
blog.mlmaster.com.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/blog.mlmaster.com.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
music.peeps.ru.xml-iso-8859-5]
music.peeps.ru.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/music.peeps.ru.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
janulalife.blogspot.com.xml-iso-8859-5]
janulalife.blogspot.com.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/janulalife.blogspot.com.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
aif.ru.health.xml-iso-8859-5]
aif.ru.health.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/aif.ru.health.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.6.xml-iso-8859-5]
forum.template-toolkit.ru.6.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/forum.template-toolkit.ru.6.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
intertat.ru.xml-iso-8859-5]
intertat.ru.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/intertat.ru.xml', encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
forum.template-toolkit.ru.1.xml-iso-8859-5]
forum.template-toolkit.ru.1.xml-iso-8859-5]
file_name = 'tests/iso-8859-5-russian/forum.template-toolkit.ru.1.xml' encoding = 'iso-8859-5' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bpm.cult.bg.xml-windows-1251]
bpm.cult.bg.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/bpm.cult.bg.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bpm.cult.bg.medusa.4.xml-windows-1251]
bpm.cult.bg.medusa.4.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/bpm.cult.bg.medusa.4.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bpm.cult.bg.9.xml-windows-1251]
bpm.cult.bg.9.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/bpm.cult.bg.9.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
ide.li.xml-windows-1251]
ide.li.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/ide.li.xml', encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
ecloga.cult.bg.xml-windows-1251]
ecloga.cult.bg.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/ecloga.cult.bg.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
debian.gabrovo.com.xml-windows-1251]
debian.gabrovo.com.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/debian.gabrovo.com.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bpm.cult.bg.2.xml-windows-1251]
bpm.cult.bg.2.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/bpm.cult.bg.2.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
informator.org.xml-windows-1251]
informator.org.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/informator.org.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
doncho.net.comments.xml-windows-1251]
doncho.net.comments.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/doncho.net.comments.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
linux-bg.org.xml-windows-1251]
linux-bg.org.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/linux-bg.org.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bpm.cult.bg.4.xml-windows-1251]
bpm.cult.bg.4.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/bpm.cult.bg.4.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
debian.gabrovo.com.news.xml-windows-1251]
debian.gabrovo.com.news.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/debian.gabrovo.com.news.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bbc.co.uk.popshow.xml-windows-1251]
bbc.co.uk.popshow.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/bbc.co.uk.popshow.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
rinennor.org.xml-windows-1251]
rinennor.org.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/rinennor.org.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
doncho.net.xml-windows-1251]
doncho.net.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/doncho.net.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bpm.cult.bg.3.xml-windows-1251]
bpm.cult.bg.3.xml-windows-1251]
file_name = 'tests/windows-1251-bulgarian/bpm.cult.bg.3.xml' encoding = 'windows-1251' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_he2.txt-utf-8]
_ude_he2.txt-utf-8]
file_name = 'tests/utf-8/_ude_he2.txt', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
weblabor.hu.2.xml-utf-8]
weblabor.hu.2.xml-utf-8]
file_name = 'tests/utf-8/weblabor.hu.2.xml', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_russian.txt-utf-8]
_ude_russian.txt-utf-8]
file_name = 'tests/utf-8/_ude_russian.txt', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_mozilla_bug426271_text-utf-8.html-utf-8]
_mozilla_bug426271_text-utf-8.html-utf-8]
file_name = 'tests/utf-8/_mozilla_bug426271_text-utf-8.html', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_5.txt-utf-8]
_ude_5.txt-utf-8]
file_name = 'tests/utf-8/_ude_5.txt', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_greek.txt-utf-8]
_ude_greek.txt-utf-8]
file_name = 'tests/utf-8/_ude_greek.txt', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
pihgy.hu.xml-utf-8]
pihgy.hu.xml-utf-8]
file_name = 'tests/utf-8/pihgy.hu.xml', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_chromium_UTF-8_with_no_encoding_specified.html-utf-8]
_chromium_UTF-8_with_no_encoding_specified.html-utf-8]
file_name = 'tests/utf-8/_chromium_UTF-8_with_no_encoding_specified.html' encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_2.txt-utf-8]
_ude_2.txt-utf-8]
file_name = 'tests/utf-8/_ude_2.txt', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
balatonblog.typepad.com.xml-utf-8]
balatonblog.typepad.com.xml-utf-8]
file_name = 'tests/utf-8/balatonblog.typepad.com.xml', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
anitabee.blogspot.com.xml-utf-8]
anitabee.blogspot.com.xml-utf-8]
file_name = 'tests/utf-8/anitabee.blogspot.com.xml', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
weblabor.hu.xml-utf-8]
weblabor.hu.xml-utf-8]
file_name = 'tests/utf-8/weblabor.hu.xml', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
linuxbox.hu.xml-utf-8]
linuxbox.hu.xml-utf-8]
file_name = 'tests/utf-8/linuxbox.hu.xml', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_3.txt-utf-8]
_ude_3.txt-utf-8]
file_name = 'tests/utf-8/_ude_3.txt', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
boobooo.blogspot.com.xml-utf-8]
boobooo.blogspot.com.xml-utf-8]
file_name = 'tests/utf-8/boobooo.blogspot.com.xml', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_he3.txt-utf-8]
_ude_he3.txt-utf-8]
file_name = 'tests/utf-8/_ude_he3.txt', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_he1.txt-utf-8]
_ude_he1.txt-utf-8]
file_name = 'tests/utf-8/_ude_he1.txt', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_mozilla_bug306272_text.html-utf-8]
_mozilla_bug306272_text.html-utf-8]
file_name = 'tests/utf-8/_mozilla_bug306272_text.html', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-utf-8]
_ude_1.txt-utf-8]
file_name = 'tests/utf-8/_ude_1.txt', encoding = 'utf-8' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_euc-tw1.txt-euc-tw]
_ude_euc-tw1.txt-euc-tw]
file_name = 'tests/EUC-TW/_ude_euc-tw1.txt', encoding = 'euc-tw' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_chromium_Shift-JIS_with_no_encoding_specified.html-shift_jis]
_chromium_Shift-JIS_with_no_encoding_specified.html-shift_jis]
file_name = 'tests/SHIFT_JIS/_chromium_Shift-JIS_with_no_encoding_specified.html' encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
accessories-brand.com.xml-shift_jis]
accessories-brand.com.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/accessories-brand.com.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.inkase.net.xml-shift_jis]
blog.inkase.net.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/blog.inkase.net.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
blog.paseri.ne.jp.xml-shift_jis]
blog.paseri.ne.jp.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/blog.paseri.ne.jp.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
1affliate.com.xml-shift_jis]
1affliate.com.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/1affliate.com.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
nextbeaut.com.xml-shift_jis]
nextbeaut.com.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/nextbeaut.com.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
andore.com.money.xml-shift_jis]
andore.com.money.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/andore.com.money.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
setsuzei119.jp.xml-shift_jis]
setsuzei119.jp.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/setsuzei119.jp.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
amefoot.net.xml-shift_jis]
amefoot.net.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/amefoot.net.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
andore.com.xml-shift_jis]
andore.com.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/andore.com.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
milliontimes.jp.xml-shift_jis]
milliontimes.jp.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/milliontimes.jp.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
clickablewords.com.xml-shift_jis]
clickablewords.com.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/clickablewords.com.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_3.txt-shift_jis]
_ude_3.txt-shift_jis]
file_name = 'tests/SHIFT_JIS/_ude_3.txt', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_4.txt-shift_jis]
_ude_4.txt-shift_jis]
file_name = 'tests/SHIFT_JIS/_ude_4.txt', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
tamuyou.haun.org.xml-shift_jis]
tamuyou.haun.org.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/tamuyou.haun.org.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
bloglelife.com.xml-shift_jis]
bloglelife.com.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/bloglelife.com.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_2.txt-shift_jis]
_ude_2.txt-shift_jis]
file_name = 'tests/SHIFT_JIS/_ude_2.txt', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
brag.zaka.to.xml-shift_jis]
brag.zaka.to.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/brag.zaka.to.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
sakusaka-silk.net.xml-shift_jis]
sakusaka-silk.net.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/sakusaka-silk.net.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
dogsinn.jp.xml-shift_jis]
dogsinn.jp.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/dogsinn.jp.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
celeb.lalalu.com.xml-shift_jis]
celeb.lalalu.com.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/celeb.lalalu.com.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
do.beginnersrack.com.xml-shift_jis]
do.beginnersrack.com.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/do.beginnersrack.com.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
andore.com.inami.xml-shift_jis]
andore.com.inami.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/andore.com.inami.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
perth-on.net.xml-shift_jis]
perth-on.net.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/perth-on.net.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
10e.org.xml-shift_jis]
10e.org.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/10e.org.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
moon-light.ne.jp.xml-shift_jis]
moon-light.ne.jp.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/moon-light.ne.jp.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
_ude_1.txt-shift_jis]
_ude_1.txt-shift_jis]
file_name = 'tests/SHIFT_JIS/_ude_1.txt', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
ooganemochi.com.xml-shift_jis]
ooganemochi.com.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/ooganemochi.com.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
yasuhisa.com.xml-shift_jis]
yasuhisa.com.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/yasuhisa.com.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
grebeweb.net.xml-shift_jis]
grebeweb.net.xml-shift_jis]
file_name = 'tests/SHIFT_JIS/grebeweb.net.xml', encoding = 'shift_jis' @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) test.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' chardet/utf1632prober.py:23: AttributeError
test.py::test_never_fails_to_detect_if_there_is_a_valid_encoding
test.py::test_never_fails_to_detect_if_there_is_a_valid_encoding
@pytest.mark.xfail > @given( st.text(min_size=1), st.sampled_from( [ "ascii", "utf-8", "utf-16", "utf-32", "iso-8859-7", "iso-8859-8", "windows-1255", ] ), st.randoms(), ) test.py:123: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test.py:144: in test_never_fails_to_detect_if_there_is_a_valid_encoding detected = chardet.detect(data)["encoding"] chardet/__init__.py:39: in detect detector.feed(byte_str) chardet/universaldetector.py:130: in feed self._utf1632_prober = UTF1632Prober() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =def __init__(self): super().__init__() self.position = 0 self.zeros_at_mod = [0] * 4 self.nonzeros_at_mod = [0] * 4 self._state = ProbingState.DETECTING self.quad = [0, 0, 0, 0] self.invalid_utf16be = False self.invalid_utf16le = False self.invalid_utf32be = False self.invalid_utf32le = False self.first_half_surrogate_pair_detected_16be = False self.first_half_surrogate_pair_detected_16le = False > self.reset() E AttributeError: 'UTF1632Prober' object has no attribute 'reset' E Falsifying example: test_never_fails_to_detect_if_there_is_a_valid_encoding( E txt='\x80', E enc='utf-8', # or any other generated value E rnd=HypothesisRandom(generated data), E ) E Explanation: E These lines were always and only run by failing examples: E /testbed/chardet/universaldetector.py:116 E /testbed/chardet/utf1632prober.py:12 chardet/utf1632prober.py:23: AttributeError
test.py::test_detect_all_and_detect_one_should_agree
test.py::test_detect_all_and_detect_one_should_agree
+ Exception Group Traceback (most recent call last): | File "/testbed/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call | result: TResult | None = func() | ^^^^^^ | File "/testbed/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 242, in| lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/testbed/.venv/lib/python3.12/site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/testbed/.venv/lib/python3.12/site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook | yield | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/testbed/.venv/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/testbed/.venv/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook | yield | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/testbed/.venv/lib/python3.12/site-packages/_pytest/logging.py", line 846, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/testbed/.venv/lib/python3.12/site-packages/_pytest/logging.py", line 829, in _runtest_for | yield | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/testbed/.venv/lib/python3.12/site-packages/_pytest/capture.py", line 880, in pytest_runtest_call | return (yield) | ^^^^^ | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/testbed/.venv/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/testbed/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call | item.runtest() | File "/testbed/.venv/lib/python3.12/site-packages/_pytest/python.py", line 1627, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall | raise exception.with_traceback(exception.__traceback__) | File "/testbed/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/testbed/.venv/lib/python3.12/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call | result = testfunction(**testargs) | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/testbed/test.py", line 160, in test_detect_all_and_detect_one_should_agree | st.text(min_size=1), | ^^^ | File "/testbed/.venv/lib/python3.12/site-packages/hypothesis/core.py", line 1722, in wrapped_test | raise the_error_hypothesis_found | ExceptionGroup: Hypothesis found 2 distinct failures. (2 sub-exceptions) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/testbed/test.py", line 181, in test_detect_all_and_detect_one_should_agree | result = chardet.detect(data) | ^^^^^^^^^^^^^^^^^^^^ | File "/testbed/chardet/__init__.py", line 39, in detect | detector.feed(byte_str) | File "/testbed/chardet/universaldetector.py", line 130, in feed | self._utf1632_prober = UTF1632Prober() | ^^^^^^^^^^^^^^^ | File "/testbed/chardet/utf1632prober.py", line 23, in __init__ | self.reset() | ^^^^^^^^^^ | AttributeError: 'UTF1632Prober' object has no attribute 'reset' | | During handling of the above exception, another exception occurred: | | Traceback (most recent call last): | File "/testbed/test.py", line 185, in test_detect_all_and_detect_one_should_agree | raise RuntimeError(f"{result} != {results}") from exc | ^^^^^^ | UnboundLocalError: cannot access local variable 'result' where it is not associated with a value | Falsifying example: test_detect_all_and_detect_one_should_agree( | # The test always failed when commented parts were varied together. | txt='0', # or any other generated value | enc='utf-16', # or any other generated value | _=HypothesisRandom(generated data), | ) +---------------- 2 ---------------- | Traceback (most recent call last): | File "/testbed/test.py", line 182, in test_detect_all_and_detect_one_should_agree | results = chardet.detect_all(data) | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/testbed/chardet/__init__.py", line 65, in detect_all | if detector.input_state == InputState.HIGH_BYTE: | ^^^^^^^^^^^^^^^^^^^^ | AttributeError: 'UniversalDetector' object has no attribute 'input_state'. Did you mean: '_input_state'? | | During handling of the above exception, another exception occurred: | | Traceback (most recent call last): | File "/testbed/test.py", line 185, in test_detect_all_and_detect_one_should_agree | raise RuntimeError(f"{result} != {results}") from exc | ^^^^^^^ | UnboundLocalError: cannot access local variable 'results' where it is not associated with a value | Falsifying example: test_detect_all_and_detect_one_should_agree( | txt='0', | enc='ascii', # or any other generated value | _=HypothesisRandom(generated data), | ) +------------------------------------
Patch diff
diff --git a/chardet/chardistribution.py b/chardet/chardistribution.py
index 0cdb911..e721660 100644
--- a/chardet/chardistribution.py
+++ b/chardet/chardistribution.py
@@ -23,15 +23,45 @@ class CharDistributionAnalysis:
def reset(self):
"""reset analyser, clear any state"""
- pass
+ self._done = False
+ self._total_chars = 0
+ self._freq_chars = 0
def feed(self, char, char_len):
"""feed a character with known length"""
- pass
+ if char_len == 2:
+ # we only care about 2-bytes character in our distribution analysis
+ order = self.get_order(char)
+ if order != -1:
+ self._total_chars += 1
+ if order < self._table_size:
+ self._freq_chars += 1
def get_confidence(self):
"""return confidence based on existing data"""
- pass
+ if self._total_chars <= 0 or self._freq_chars <= self.MINIMUM_DATA_THRESHOLD:
+ return self.SURE_NO
+
+ if self._total_chars != self._freq_chars:
+ r = self._freq_chars / ((self._total_chars - self._freq_chars) * self.typical_distribution_ratio)
+ if r < self.SURE_YES:
+ return r
+
+ return self.SURE_YES
+
+ def get_order(self, char):
+ # We only care about 2-byte characters.
+ if len(char) != 2:
+ return -1
+
+ # Convert the byte pair to an integer
+ byte_pair = (char[0] << 8) + char[1]
+
+ # Check if the byte pair is in our frequency order table
+ if byte_pair in self._char_to_freq_order:
+ return self._char_to_freq_order[byte_pair]
+
+ return -1
class EUCTWDistributionAnalysis(CharDistributionAnalysis):
diff --git a/chardet/charsetprober.py b/chardet/charsetprober.py
index 0969054..17775dc 100644
--- a/chardet/charsetprober.py
+++ b/chardet/charsetprober.py
@@ -37,4 +37,13 @@ class CharSetProber:
characters and extended ASCII characters, but is currently only used by
``Latin1Prober``.
"""
- pass
+ inside_tag = False
+ filtered = bytearray()
+ for byte in buf:
+ if byte == ord(b'<'):
+ inside_tag = True
+ elif byte == ord(b'>'):
+ inside_tag = False
+ elif not inside_tag:
+ filtered.append(byte)
+ return bytes(filtered)
diff --git a/chardet/cli/chardetect.py b/chardet/cli/chardetect.py
index 2cf6548..bfd9d97 100644
--- a/chardet/cli/chardetect.py
+++ b/chardet/cli/chardetect.py
@@ -27,7 +27,17 @@ def description_of(lines, name='stdin'):
:param name: Name of file or collection of lines
:type name: str
"""
- pass
+ u = UniversalDetector()
+ for line in lines:
+ u.feed(line)
+ if u.done:
+ break
+ u.close()
+ result = u.result
+ if result['encoding']:
+ return '{}: {} with confidence {}'.format(name, result['encoding'], result['confidence'])
+ else:
+ return '{}: no result'.format(name)
def main(argv=None):
@@ -38,7 +48,23 @@ def main(argv=None):
If None, ``sys.argv[1:]`` is used instead.
:type argv: list of str
"""
- pass
+ parser = argparse.ArgumentParser(
+ description="Takes one or more file paths and reports their detected encodings"
+ )
+ parser.add_argument('input',
+ help='File whose encoding we would like to determine.',
+ type=argparse.FileType('rb'), nargs='*',
+ default=[sys.stdin.buffer])
+ parser.add_argument('--version', action='version',
+ version='%(prog)s {}'.format(__version__))
+ args = parser.parse_args(argv)
+
+ for f in args.input:
+ if f.isatty():
+ print("You are running chardetect interactively. Press " +
+ "CTRL-D twice at the start of a blank line to signal the " +
+ "end of your input. If you want help, run chardetect --help")
+ print(description_of(f, f.name))
if __name__ == '__main__':
diff --git a/chardet/enums.py b/chardet/enums.py
index 62d6fa4..9858bc6 100644
--- a/chardet/enums.py
+++ b/chardet/enums.py
@@ -59,7 +59,7 @@ class SequenceLikelihood:
@classmethod
def get_num_categories(cls):
""":returns: The number of likelihood categories in the enum."""
- pass
+ return len([attr for attr in dir(cls) if not attr.startswith("__") and isinstance(getattr(cls, attr), int)])
class CharacterCategory:
diff --git a/chardet/jpcntx.py b/chardet/jpcntx.py
index 3aa5f83..bbe707f 100644
--- a/chardet/jpcntx.py
+++ b/chardet/jpcntx.py
@@ -306,6 +306,49 @@ class JapaneseContextAnalysis:
self._done = None
self.reset()
+ def reset(self):
+ self._total_rel = 0
+ self._rel_sample = [0] * self.NUM_OF_CATEGORY
+ self._need_to_skip_char_num = 0
+ self._last_char_order = self.DONT_KNOW
+ self._done = False
+
+ def feed(self, char, char_len):
+ if self._done:
+ return
+
+ if self._need_to_skip_char_num > 0:
+ self._need_to_skip_char_num -= char_len
+ if self._need_to_skip_char_num <= 0:
+ self._need_to_skip_char_num = 0
+ return
+
+ order = self.get_order(char)
+ if order != self.DONT_KNOW:
+ if self._last_char_order != self.DONT_KNOW:
+ self._total_rel += 1
+ if self._total_rel > self.MAX_REL_THRESHOLD:
+ self._done = True
+ return
+ rel = jp2_char_context[self._last_char_order][order]
+ self._rel_sample[rel] += 1
+ self._last_char_order = order
+ else:
+ self._need_to_skip_char_num = char_len - 1
+
+ def got_enough_data(self):
+ return self._total_rel > self.ENOUGH_REL_THRESHOLD
+
+ def get_confidence(self):
+ if self._total_rel > self.MINIMUM_DATA_THRESHOLD:
+ total = sum(self._rel_sample)
+ if total > 0:
+ return (self._rel_sample[4] + self._rel_sample[5]) / total
+ return self.DONT_KNOW
+
+ def get_order(self, char):
+ return self.DONT_KNOW # This method should be implemented in subclasses
+
class SJISContextAnalysis(JapaneseContextAnalysis):
@@ -313,6 +356,20 @@ class SJISContextAnalysis(JapaneseContextAnalysis):
super().__init__()
self._charset_name = 'SHIFT_JIS'
+ def get_order(self, char):
+ if char >= '\x81' and char <= '\x9f':
+ return ord(char) - 0x81
+ if char >= '\xe0' and char <= '\xfc':
+ return ord(char) - 0xe0 + 31
+ return self.DONT_KNOW
+
class EUCJPContextAnalysis(JapaneseContextAnalysis):
- pass
+ def __init__(self):
+ super().__init__()
+ self._charset_name = 'EUC-JP'
+
+ def get_order(self, char):
+ if char >= '\xa1' and char <= '\xfe':
+ return ord(char) - 0xa1
+ return self.DONT_KNOW
diff --git a/chardet/universaldetector.py b/chardet/universaldetector.py
index 02ddd03..134507f 100644
--- a/chardet/universaldetector.py
+++ b/chardet/universaldetector.py
@@ -65,7 +65,15 @@ class UniversalDetector:
initial states. This is called by ``__init__``, so you only need to
call this directly in between analyses of different documents.
"""
- pass
+ self.result = {'encoding': None, 'confidence': 0.0, 'language': None}
+ self.done = False
+ self._got_data = False
+ self._input_state = InputState.PURE_ASCII
+ self._last_char = None
+ self._has_win_bytes = False
+ self._esc_charset_prober = None
+ self._utf1632_prober = None
+ self._charset_probers = []
def feed(self, byte_str):
"""
@@ -81,7 +89,56 @@ class UniversalDetector:
You should always call ``close`` when you're done feeding in your
document if ``done`` is not already ``True``.
"""
- pass
+ if self.done:
+ return
+
+ if not len(byte_str):
+ return
+
+ if not self._got_data:
+ self._got_data = True
+ if byte_str.startswith(codecs.BOM_UTF8):
+ self.result = {'encoding': 'UTF-8-SIG', 'confidence': 1.0, 'language': ''}
+ self.done = True
+ return
+
+ for prober in self._charset_probers:
+ if prober.feed(byte_str) == ProbingState.FOUND_IT:
+ self.result = {'encoding': prober.charset_name,
+ 'confidence': prober.get_confidence(),
+ 'language': prober.language}
+ self.done = True
+ return
+
+ if not self.done:
+ if self._input_state == InputState.PURE_ASCII:
+ if self.HIGH_BYTE_DETECTOR.search(byte_str):
+ self._input_state = InputState.HIGH_BYTE
+ elif self._input_state == InputState.PURE_ASCII and self.ESC_DETECTOR.search(byte_str):
+ self._input_state = InputState.ESC_ASCII
+
+ if self._input_state == InputState.ESC_ASCII:
+ if not self._esc_charset_prober:
+ self._esc_charset_prober = EscCharSetProber(self.lang_filter)
+ if self._esc_charset_prober.feed(byte_str) == ProbingState.FOUND_IT:
+ self.result = {'encoding': self._esc_charset_prober.charset_name,
+ 'confidence': self._esc_charset_prober.get_confidence(),
+ 'language': self._esc_charset_prober.language}
+ self.done = True
+ elif self._input_state == InputState.HIGH_BYTE:
+ if not self._utf1632_prober:
+ self._utf1632_prober = UTF1632Prober()
+ if not self._charset_probers:
+ self._charset_probers = [MBCSGroupProber(self.lang_filter)]
+ self._charset_probers.append(SBCSGroupProber())
+ self._charset_probers.append(Latin1Prober())
+ for prober in self._charset_probers:
+ if prober.feed(byte_str) == ProbingState.FOUND_IT:
+ self.result = {'encoding': prober.charset_name,
+ 'confidence': prober.get_confidence(),
+ 'language': prober.language}
+ self.done = True
+ return
def close(self):
"""
@@ -91,4 +148,42 @@ class UniversalDetector:
:returns: The ``result`` attribute, a ``dict`` with the keys
`encoding`, `confidence`, and `language`.
"""
- pass
+ if self.done:
+ return self.result
+ if not self._got_data:
+ self.logger.debug('no data received!')
+ return self.result
+
+ if self._input_state == InputState.PURE_ASCII:
+ self.result = {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}
+ return self.result
+
+ if self._input_state == InputState.HIGH_BYTE:
+ prober_confidence = None
+ max_prober_confidence = 0.0
+ max_prober = None
+ for prober in self._charset_probers:
+ if not prober:
+ continue
+ prober_confidence = prober.get_confidence()
+ if prober_confidence > max_prober_confidence:
+ max_prober_confidence = prober_confidence
+ max_prober = prober
+ if max_prober and (max_prober_confidence > self.MINIMUM_THRESHOLD):
+ charset_name = max_prober.charset_name
+ lower_charset_name = max_prober.charset_name.lower()
+ confidence = max_prober.get_confidence()
+ # Use Windows encoding name instead of ISO-8859 if we saw any
+ # extra Windows-specific bytes
+ if lower_charset_name.startswith('iso-8859'):
+ if self._has_win_bytes:
+ charset_name = self.ISO_WIN_MAP.get(lower_charset_name,
+ charset_name)
+ self.result = {'encoding': charset_name,
+ 'confidence': confidence,
+ 'language': max_prober.language}
+ else:
+ self.result = {'encoding': None, 'confidence': 0.0, 'language': None}
+
+ self.done = True
+ return self.result
diff --git a/chardet/utf1632prober.py b/chardet/utf1632prober.py
index 214a766..f31260f 100644
--- a/chardet/utf1632prober.py
+++ b/chardet/utf1632prober.py
@@ -31,7 +31,8 @@ class UTF1632Prober(CharSetProber):
https://en.wikipedia.org/wiki/UTF-32
"""
- pass
+ value = (quad[0] << 24) | (quad[1] << 16) | (quad[2] << 8) | quad[3]
+ return 0x00000000 <= value <= 0x0010FFFF and not (0x0000D800 <= value <= 0x0000DFFF)
def validate_utf16_characters(self, pair):
"""
@@ -43,4 +44,22 @@ class UTF1632Prober(CharSetProber):
https://en.wikipedia.org/wiki/UTF-16
"""
- pass
+ value = (pair[0] << 8) | pair[1]
+ if 0xD800 <= value <= 0xDBFF:
+ # First half of a surrogate pair
+ if not self.first_half_surrogate_pair_detected_16be:
+ self.first_half_surrogate_pair_detected_16be = True
+ return True
+ else:
+ return False
+ elif 0xDC00 <= value <= 0xDFFF:
+ # Second half of a surrogate pair
+ if self.first_half_surrogate_pair_detected_16be:
+ self.first_half_surrogate_pair_detected_16be = False
+ return True
+ else:
+ return False
+ else:
+ # Regular UTF-16 character
+ self.first_half_surrogate_pair_detected_16be = False
+ return 0x0000 <= value < 0xD800 or 0xE000 <= value <= 0xFFFF