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
1 changed files with 2 additions and 2 deletions

View File

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