aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_argon2_off_loop.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/test_argon2_off_loop.py')
-rw-r--r--packages/meshbay-hub/tests/test_argon2_off_loop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/meshbay-hub/tests/test_argon2_off_loop.py b/packages/meshbay-hub/tests/test_argon2_off_loop.py
index 5c25a8e..ae6cc08 100644
--- a/packages/meshbay-hub/tests/test_argon2_off_loop.py
+++ b/packages/meshbay-hub/tests/test_argon2_off_loop.py
@@ -28,7 +28,7 @@ def test_nothing_derives_argon2_on_the_event_loop():
for path in SRC.rglob("*.py"):
if path.name == "auth.py":
continue
- for n, line in enumerate(path.read_text().splitlines(), 1):
+ for n, line in enumerate(path.read_text(encoding="utf-8").splitlines(), 1):
if direct.search(line):
offenders.append(f"{path.relative_to(SRC)}:{n}: {line.strip()}")
assert not offenders, (