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
commit 2b70e7f4df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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