Skip to content
Snippets Groups Projects
Commit 3a61df06 authored by Awais Qureshi's avatar Awais Qureshi
Browse files

BOM-129

python3 tests failures.
parent e0500adc
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ def get_image(name):
"""
Get one of the test images from the test data directory.
"""
return ImageFile(open(TEST_DATA_ROOT / 'badges' / name + '.png'))
return ImageFile(open(TEST_DATA_ROOT / 'badges' / name + '.png', mode='rb')) # pylint: disable=open-builtin
@override_settings(MEDIA_ROOT=TEST_DATA_ROOT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment