Skip to content

Commit

Permalink
Rename setup() to setup_method()
Browse files Browse the repository at this point in the history
  • Loading branch information
kerrickstaley committed May 13, 2024
1 parent 61fc2cb commit e073eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_genanki.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@


class TestWithCollection:
def setup(self):
def setup_method(self):
# TODO make this less messy
colf = tempfile.NamedTemporaryFile(suffix='.anki2')
colf_name = colf.name
Expand Down

0 comments on commit e073eba

Please sign in to comment.