Skip to content

Commit

Permalink
Fix test broken by removal of imghdr
Browse files Browse the repository at this point in the history
This has been broken since bd11564.
  • Loading branch information
cjwatson authored and Lonami committed Nov 6, 2024
1 parent 769b65e commit 70098c5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/telethon/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ def __init__(self, name):

assert utils._get_extension('foo.bar.baz') == '.baz'
assert utils._get_extension(pathlib.Path('foo.bar.baz')) == '.baz'
assert utils._get_extension(png_header) == '.png'
assert utils._get_extension(png_buffer) == '.png'
assert utils._get_extension(png_buffer) == '.png' # make sure it did seek back
assert utils._get_extension(CustomFd('foo.bar.baz')) == '.baz'

# Negative cases
Expand Down

0 comments on commit 70098c5

Please sign in to comment.