Skip to content

Commit 99c0d38

Browse files
committed
Make test_file_spider.py cleanup more resilient
1 parent 051873d commit 99c0d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/test_file_spider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616

1717
def teardown_module() -> None:
18-
del Image.EXTENSION[".spider"]
18+
Image.EXTENSION.pop(".spider", None)
1919

2020

2121
def test_sanity() -> None:

0 commit comments

Comments
 (0)