Skip to content

Commit

Permalink
fix: typo in test (langgenius#10707)
Browse files Browse the repository at this point in the history
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
  • Loading branch information
yihong0618 authored Nov 14, 2024
1 parent e61242a commit 94fd6f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ def test_extract_text_from_plain_text():
assert text == "Hello, world!"


def tet_extract_text_from_plain_text_non_utf8():
def test_extract_text_from_plain_text_non_utf8():
import tempfile

non_utf8_content = b"Hello world\xa9." # \xA9 represents © in Latin-1
non_utf8_content = b"Hello, world\xa9." # \xA9 represents © in Latin-1
with tempfile.NamedTemporaryFile(delete=True) as temp_file:
temp_file.write(non_utf8_content)
temp_file.seek(0)
Expand Down

0 comments on commit 94fd6f6

Please sign in to comment.