mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-09-24 13:07:00 +03:00
Catch error when removing temporary file
This commit is contained in:
parent
295ccec440
commit
7f19e1cba9
|
@ -317,4 +317,7 @@ int main(int argc, char* argv[])
|
||||||
assert process.returncode == 0
|
assert process.returncode == 0
|
||||||
|
|
||||||
def teardown_method(self) -> None:
|
def teardown_method(self) -> None:
|
||||||
|
try:
|
||||||
os.remove("embed_pil.c")
|
os.remove("embed_pil.c")
|
||||||
|
except FileNotFoundError:
|
||||||
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user