Merge pull request #10064 from hugovk/test-me-fix-logging.warn-deprecation

Replace deprecated logging.warn with logging.warning
This commit is contained in:
Zac Hatfield-Dodds
2022-06-24 23:29:26 -07:00
committed by GitHub

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
"""
)