Fix xml_etree_c test error (follow up of issue #13988).

This commit is contained in:
Florent Xicluna 2012-02-13 12:14:52 +01:00
parent a72a98f24a
commit 6c3da6ebc2
1 changed files with 3 additions and 1 deletions

View File

@ -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