We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50b7451 commit 4811c1eCopy full SHA for 4811c1e
distutils/log.py
@@ -40,7 +40,7 @@ def set_verbosity(v):
40
41
42
class Log(logging.Logger):
43
- """distutils.log.Logger is deprecated, please use an alternative from `logging`."""
+ """distutils.log.Log is deprecated, please use an alternative from `logging`."""
44
45
def __init__(self, threshold=WARN):
46
warnings.warn(Log.__doc__) # avoid DeprecationWarning to ensure warn is shown
pytest.ini
@@ -24,3 +24,6 @@ filterwarnings=
24
25
# suppress warnings in deprecated compilers
26
ignore:(bcpp|msvc9?)compiler is deprecated
27
+
28
+ # suppress well know deprecation warning
29
+ ignore:distutils.log.Log is deprecated
0 commit comments