aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/apps')
-rw-r--r--pydis_site/apps/api/tests/test_rules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/tests/test_rules.py b/pydis_site/apps/api/tests/test_rules.py
index 662fb8e9..14412b90 100644
--- a/pydis_site/apps/api/tests/test_rules.py
+++ b/pydis_site/apps/api/tests/test_rules.py
@@ -56,7 +56,7 @@ class RuleCorrectnessTests(AuthenticatedAPITestCase):
)
markdown_rules = []
- for line in markdown_rules_path.read_text().splitlines():
+ for line in markdown_rules_path.read_text(encoding="utf8").splitlines():
matches = self.markdown_rule_re.match(line)
if matches is not None:
markdown_rules.append(matches.group(1))