mirror of
https://github.com/python-pillow/Pillow.git
synced 2026-01-28 19:15:54 +03:00
Cleanup .spider extension registered by test code during save
This commit is contained in:
parent
1baf141146
commit
9c8059fdea
|
|
@ -14,6 +14,10 @@ from .helper import assert_image_equal, hopper, is_pypy
|
|||
TEST_FILE = "Tests/images/hopper.spider"
|
||||
|
||||
|
||||
def teardown_module() -> None:
|
||||
del Image.EXTENSION[".spider"]
|
||||
|
||||
|
||||
def test_sanity() -> None:
|
||||
with Image.open(TEST_FILE) as im:
|
||||
im.load()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user