diff options
Diffstat (limited to 'pylint/test/functional/logging_not_lazy.py')
-rw-r--r-- | pylint/test/functional/logging_not_lazy.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pylint/test/functional/logging_not_lazy.py b/pylint/test/functional/logging_not_lazy.py index ccc8665..b843431 100644 --- a/pylint/test/functional/logging_not_lazy.py +++ b/pylint/test/functional/logging_not_lazy.py @@ -1,13 +1,13 @@ -# pylint: disable=missing-docstring,no-member +# pylint: disable=missing-docstring,no-member,deprecated-method # Muck up the names in an effort to confuse... import logging as renamed_logging import os as logging # Statements that should be flagged: -renamed_logging.warn('%s, %s' % (4, 5)) # [logging-not-lazy] -renamed_logging.exception('%s' % 'Exceptional!') # [logging-not-lazy] -renamed_logging.log(renamed_logging.INFO, 'msg: %s' % 'Run!') # [logging-not-lazy] +renamed_logging.warn('%s, %s' % (4, 5)) # [logging-not-lazy] +renamed_logging.exception('%s' % 'Exceptional!') # [logging-not-lazy] +renamed_logging.log(renamed_logging.INFO, 'msg: %s' % 'Run!') # [logging-not-lazy] # Statements that should not be flagged: renamed_logging.warn('%s, %s', 4, 5) |