mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
logger: Remove deprecation warning reported by pytest
dvc/logger.py:113: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@ class Logger(object):
|
||||
|
||||
@classmethod
|
||||
def warn(cls, msg, exc=None):
|
||||
cls._with_exc(cls.logger().warn, cls.warning_prefix() + msg, exc=exc)
|
||||
cls._with_exc(cls.logger().warning, cls.warning_prefix() + msg, exc=exc)
|
||||
|
||||
@classmethod
|
||||
def debug(cls, msg, exc=None):
|
||||
|
||||
Reference in New Issue
Block a user