Skip to content

Commit 85c4b89

Browse files
bors[bot]alallema
andauthored
Merge #312
312: Fix pylint r=alallema a=alallema Fix open() by adding encoding "utf8" after update of pylint See #310 who didn't fix the issue Co-authored-by: alallema <[email protected]>
2 parents 185c74e + 13a8baa commit 85c4b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meilisearch/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def small_movies():
3535
"""
3636
Runs once per session. Provides the content of small_movies.json.
3737
"""
38-
with open('./datasets/small_movies.json', 'r', encoding=None) as movie_file:
38+
with open('./datasets/small_movies.json', 'r', encoding="utf8") as movie_file:
3939
yield json.loads(movie_file.read())
4040

4141
@fixture(scope='function')

0 commit comments

Comments
 (0)