Home
last modified time | relevance | path

Searched refs:check_parse (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_sax.py124 def check_parse(self, f): member in ParseTest
134 self.check_parse(StringIO(xml_str(self.data, encoding)))
137 self.check_parse(f)
138 self.check_parse(StringIO(self.data))
141 self.check_parse(f)
148 self.check_parse(BytesIO(xml_bytes(self.data, encoding)))
150 self.check_parse(TESTFN)
152 self.check_parse(f)
153 self.check_parse(BytesIO(xml_bytes(self.data, encoding, None)))
155 self.check_parse(TESTFN)
[all …]
/external/python/cpython2/Lib/test/
Dtest_sax.py120 def check_parse(self, f): member in ParseTest
131 self.check_parse(io.BytesIO(xml_bytes(self.data, encoding)))
133 self.check_parse(TESTFN)
135 self.check_parse(f)
136 self.check_parse(io.BytesIO(xml_bytes(self.data, encoding, None)))
138 self.check_parse(TESTFN)
140 self.check_parse(f)
142 self.check_parse(io.BytesIO(xml_bytes(self.data, 'utf-8-sig', 'utf-8')))
144 self.check_parse(TESTFN)
146 self.check_parse(f)
[all …]