mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-09-24 13:07:00 +03:00
Correct error on test teardown.
This commit is contained in:
parent
076758e202
commit
dfef37b65e
|
@ -317,4 +317,8 @@ int main(int argc, char* argv[])
|
|||
assert process.returncode == 0
|
||||
|
||||
def teardown_method(self) -> None:
|
||||
try:
|
||||
os.remove("embed_pil.c")
|
||||
except FileNotFoundError:
|
||||
# If the test was skipped or failed, the file won't exist,
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue
Block a user