Replace deprecated logging.warn with .warning

This commit is contained in:
Hugo van Kemenade
2022-06-21 22:53:28 +03:00
parent fab696dcd1
commit 052da7128b

View File

@@ -244,7 +244,7 @@ class TestPDB:
"""
def test_1():
import logging
logging.warn("get " + "rekt")
logging.warning("get " + "rekt")
assert False
"""
)
@@ -263,7 +263,7 @@ class TestPDB:
"""
def test_1():
import logging
logging.warn("get " + "rekt")
logging.warning("get " + "rekt")
assert False
"""
)