Skip to content

Commit

Permalink
fixed test failures in github runner (Python 3.10.12)
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc committed Mar 31, 2024
1 parent d33c50f commit 8aba73f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apprise_api/api/tests/test_attachment.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def test_direct_attachment_parsing(self, mock_get):

def iter_content(chunk_size=1024, *args, **kwargs):
if not ref['io']:
ref['io'] = open(SAMPLE_FILE)
ref['io'] = open(SAMPLE_FILE, 'rb')
block = ref['io'].read(chunk_size)
if not block:
# Close for re-use
Expand Down

0 comments on commit 8aba73f

Please sign in to comment.