From 76734573f0e6f6b282df4ac124ec82df434e9f13 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 4 Mar 2020 21:31:50 +1100 Subject: [PATCH] Converted setup and teardown methods --- Tests/test_image_access.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/test_image_access.py b/Tests/test_image_access.py index 7ceebc749..25cc9fef4 100644 --- a/Tests/test_image_access.py +++ b/Tests/test_image_access.py @@ -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