Skip to content

Commit 8aba73f

Browse files
committed
fixed test failures in github runner (Python 3.10.12)
1 parent d33c50f commit 8aba73f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apprise_api/api/tests/test_attachment.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def test_direct_attachment_parsing(self, mock_get):
163163

164164
def iter_content(chunk_size=1024, *args, **kwargs):
165165
if not ref['io']:
166-
ref['io'] = open(SAMPLE_FILE)
166+
ref['io'] = open(SAMPLE_FILE, 'rb')
167167
block = ref['io'].read(chunk_size)
168168
if not block:
169169
# Close for re-use

0 commit comments

Comments
 (0)