From: Michael R. Crusoe <crusoe@debian.org>
Subject: Add pytest 8.x compat

Works with Pytest 7.x+
--- python-gffutils.orig/gffutils/test/feature_test.py
+++ python-gffutils/gffutils/test/feature_test.py
@@ -152,10 +152,10 @@
     namespace or something?  Anyway, these setup/teardowns do the trick.
     """
 
-    def setup(self):
+    def setup_method(self):
         constants.always_return_list = False
 
-    def teardown(self):
+    def teardown_method(self):
         constants.always_return_list = True
 
     def test_feature_single_item(self):
--- python-gffutils.orig/gffutils/test/test_1.py
+++ python-gffutils/gffutils/test/test_1.py
@@ -193,7 +193,7 @@
 
     orig_fn = None
 
-    def setup(self):
+    def setup_method(self):
         def gff_id_func(f):
             if "ID" in f.attributes:
                 return f.attributes["ID"][0]
