mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Cleanup by resetting locale
This commit is contained in:
parent
79a9981a63
commit
7d502dd410
|
@ -31,4 +31,8 @@ class TestLocale(PillowTestCase):
|
|||
locale.setlocale(locale.LC_ALL, "polish")
|
||||
except locale.Error:
|
||||
unittest.skip("Polish locale not available")
|
||||
|
||||
try:
|
||||
Image.open(path)
|
||||
finally:
|
||||
locale.setlocale(locale.LC_ALL, (None, None))
|
||||
|
|
Loading…
Reference in New Issue
Block a user