mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
Fix xml_etree_c test error (follow up of issue #13988).
This commit is contained in:
parent
a72a98f24a
commit
6c3da6ebc2
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue