Skip to content

Commit

Permalink
Use pytest's setup_method -- in pytest 8 the nose method setup is dep…
Browse files Browse the repository at this point in the history
…recated
  • Loading branch information
alex committed Jan 27, 2024
1 parent 43980e7 commit d710461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit d710461

Please sign in to comment.