diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-08-07 21:55:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 21:55:35 (GMT) |
commit | fcce8c649a14f7a81fae82f9f203bb5b5ee0c205 (patch) | |
tree | d78cff6f9be7c2af7d46feb1c0837636081c05e4 /Lib/test/test_xml_etree.py | |
parent | e27a51c11e10d5df79b3e48dc3e7bfedfad5a794 (diff) | |
download | cpython-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.py | 2 |
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 |