Fix xml_etree_c test error (follow up of issue #13988).
This commit is contained in:
parent
a72a98f24a
commit
6c3da6ebc2
|
@ -1,9 +1,11 @@
|
||||||
# xml.etree test for cElementTree
|
# xml.etree test for cElementTree
|
||||||
|
|
||||||
from test import support
|
from test import support
|
||||||
|
from test.support import import_fresh_module
|
||||||
import unittest
|
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
|
# cElementTree specific tests
|
||||||
|
|
Loading…
Reference in New Issue