X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..a6767b2d034dcf53d6e88b3e0b6eadfebc5adab1:/src/catalogue/test_utils.py?ds=inline diff --git a/src/catalogue/test_utils.py b/src/catalogue/test_utils.py index 2b085450..7343d5c1 100644 --- a/src/catalogue/test_utils.py +++ b/src/catalogue/test_utils.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # @@ -11,4 +9,4 @@ from os.path import abspath, dirname, join def get_fixture(path): f_path = join(dirname(abspath(__file__)), 'tests/files', path) with open(f_path) as f: - return unicode(f.read(), 'utf-8') + return f.read()