mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Merge pull request #45 from radarhere/to-pytest
Converted setup and teardown methods
This commit is contained in:
commit
94d0c7c9ff
|
@ -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