Skip to content

Commit

Permalink
resolve pytest deprecation warning about nose methods
Browse files Browse the repository at this point in the history
  • Loading branch information
guruofgentoo committed Oct 25, 2022
1 parent c8e4b47 commit e1d1a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keg/tests/test_logging.py
Expand Up @@ -58,7 +58,7 @@ def test_syslog_handler(self):


class TestJsonFormatter(object):
def setup(self):
def setup_method(self):
self.logger = logging.getLogger('logging-test')
self.logger.setLevel(logging.DEBUG)
self.buffer = six.StringIO()
Expand Down

0 comments on commit e1d1a6e

Please sign in to comment.