Merge pull request #10064 from hugovk/test-me-fix-logging.warn-deprecation
Replace deprecated logging.warn with logging.warning
This commit is contained in:
commit
2b70e7f4df
|
@ -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
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue