Skip to content

Commit

Permalink
set encoding as utf-8 for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
furkanonder committed Oct 9, 2023
1 parent c37c0b5 commit b02f9b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_akarsu.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import sys
import textwrap
import unittest

from akarsu.akarsu import Akarsu

# Set encoding to UTF-8 when testing on windows-latest
if sys.platform == "win32":
sys.stdin.reconfigure(encoding="utf-8")
sys.stdout.reconfigure(encoding="utf-8")


class TestNine(unittest.TestCase):
def check_events(self, events, expected_events):
Expand Down

0 comments on commit b02f9b5

Please sign in to comment.