mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-25 00:34:14 +03:00
Converted setup and teardown methods
This commit is contained in:
parent
2cc6a9a974
commit
76734573f0
|
@ -27,11 +27,11 @@ class AccessTest:
|
|||
_need_cffi_access = False
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
def setup_class(cls):
|
||||
Image.USE_CFFI_ACCESS = cls._need_cffi_access
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
def teardown_class(cls):
|
||||
Image.USE_CFFI_ACCESS = cls._init_cffi_access
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user