Skip to content

Commit

Permalink
Merge pull request #45 from radarhere/to-pytest
Browse files Browse the repository at this point in the history
Converted setup and teardown methods
  • Loading branch information
hugovk authored Mar 4, 2020
2 parents fbd4ca1 + 7673457 commit 94d0c7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/test_image_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 94d0c7c

Please sign in to comment.