diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2012-02-13 11:14:52 (GMT) |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2012-02-13 11:14:52 (GMT) |
commit | 6c3da6ebc22e3dfef0e826e04188d5a1cf3a320f (patch) | |
tree | 4659706460562296c3a9272b1c5f85af8a3161af /Lib/test/test_xml_etree_c.py | |
parent | a72a98f24a19928e31dcc4cab2cd2ad0f1846e11 (diff) | |
download | cpython-6c3da6ebc22e3dfef0e826e04188d5a1cf3a320f.zip cpython-6c3da6ebc22e3dfef0e826e04188d5a1cf3a320f.tar.gz cpython-6c3da6ebc22e3dfef0e826e04188d5a1cf3a320f.tar.bz2 |
Fix xml_etree_c test error (follow up of issue #13988).
Diffstat (limited to 'Lib/test/test_xml_etree_c.py')
-rw-r--r-- | Lib/test/test_xml_etree_c.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_xml_etree_c.py b/Lib/test/test_xml_etree_c.py index 0fed7c1..6f62009 100644 --- a/Lib/test/test_xml_etree_c.py +++ b/Lib/test/test_xml_etree_c.py @@ -1,9 +1,11 @@ # xml.etree test for cElementTree from test import support +from test.support import import_fresh_module import unittest -from xml.etree import ElementTree as cET, cElementTree as cET_alias +cET = import_fresh_module('xml.etree.ElementTree', fresh=['_elementtree']) +cET_alias = import_fresh_module('xml.etree.cElementTree', fresh=['_elementtree']) # cElementTree specific tests |