Replace deprecated logging.warn with .warning
This commit is contained in:
parent
fab696dcd1
commit
052da7128b
|
@ -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
|
||||
"""
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue