summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2024-01-27 17:04:18 -0500
committerGitHub <noreply@github.com>2024-01-27 17:04:18 -0500
commitd71046151d9904df467ff72709585cde39cdd4ca (patch)
treedca6fee12275c7936ee749a57edd57049ea9f4b4
parent43980e7e4f700f78100e80c45a59b7d383af0b7b (diff)
Use pytest's setup_method -- in pytest 8 the nose method setup is deprecated
-rw-r--r--tests/test_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index 2e49aa3d..1e623e0a 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -53,7 +53,7 @@ def load_config(name):
class TestSSHConfig:
- def setup(self):
+ def setup_method(self):
self.config = load_config("robey")
def test_init(self):