Fix missing `@classmethod` in tests
MODIFY
test/test_no_ssl.py
test/test_no_ssl.py
@@ -23,6 +23,7 @@ class TestWithoutSSL:
module_stash.stash()
sys.meta_path.insert(0, ssl_blocker)
+ @classmethod
def teardown_class(cls):
sys.meta_path.remove(ssl_blocker)
module_stash.pop()

MODIFY
test/test_util.py
test/test_util.py
@@ -936,6 +936,7 @@ class TestUtilWithoutIdna:
module_stash.stash()
sys.meta_path.insert(0, idna_blocker)
+ @classmethod
def teardown_class(cls):
sys.meta_path.remove(idna_blocker)
module_stash.pop()

Fix missing `@classmethod` in tests