summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_xml_etree.py
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2020-08-07 21:55:35 (GMT)
committerGitHub <noreply@github.com>2020-08-07 21:55:35 (GMT)
commitfcce8c649a14f7a81fae82f9f203bb5b5ee0c205 (patch)
treed78cff6f9be7c2af7d46feb1c0837636081c05e4 /Lib/test/test_xml_etree.py
parente27a51c11e10d5df79b3e48dc3e7bfedfad5a794 (diff)
downloadcpython-fcce8c649a14f7a81fae82f9f203bb5b5ee0c205.zip
cpython-fcce8c649a14f7a81fae82f9f203bb5b5ee0c205.tar.gz
cpython-fcce8c649a14f7a81fae82f9f203bb5b5ee0c205.tar.bz2
bpo-40275: Use new test.support helper submodules in tests (GH-21772)
Diffstat (limited to 'Lib/test/test_xml_etree.py')
-rw-r--r--Lib/test/test_xml_etree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py
index 63f9b92..c7d4461 100644
--- a/Lib/test/test_xml_etree.py
+++ b/Lib/test/test_xml_etree.py
@@ -111,7 +111,7 @@ EXTERNAL_ENTITY_XML = """\
def checkwarnings(*filters, quiet=False):
def decorator(test):
def newtest(*args, **kwargs):
- with support.check_warnings(*filters, quiet=quiet):
+ with warnings_helper.check_warnings(*filters, quiet=quiet):
test(*args, **kwargs)
functools.update_wrapper(newtest, test)
return newtest