Description: fix test failures with pytest 8.

Author: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063943,
Forwarded: https://github.com/moloney/dcmstack/pull/87
Last-Update: 2024-05-29
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- dcmstack.orig/test/test_cli.py
+++ dcmstack/test/test_cli.py
@@ -43,10 +43,10 @@
 
 
 class CliTest(object):
-    def setup(self):
+    def setup_method(self):
         self.out_dir = mkdtemp(prefix='dcmstack_cli_test_out')
 
-    def teardown(self):
+    def teardown_method(self):
         shutil.rmtree(self.out_dir)
 
 
