Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_xml_etree.py1999 def _ilist(self, elem, tag=None): member in ElementIterTest
2004 self.assertEqual(self._ilist(doc), ['html', 'body', 'i'])
2005 self.assertEqual(self._ilist(doc.find('body')), ['body', 'i'])
2033 self.assertEqual(self._ilist(a), ['a'])
2037 self.assertEqual(self._ilist(a), ['a', 'b'])
2041 self.assertEqual(self._ilist(a), ['a', 'b', 'c'])
2045 self.assertEqual(self._ilist(a), ['a', 'b', 'c', 'd'])
2050 self.assertEqual(self._ilist(a), ['a', 'd'])
2066 self.assertEqual(self._ilist(doc, 'room'), ['room'] * 3)
2067 self.assertEqual(self._ilist(doc, 'house'), ['house'] * 2)
[all …]
/external/python/cpython3/Lib/test/
Dtest_xml_etree.py2347 def _ilist(self, elem, tag=None): member in ElementIterTest
2352 self.assertEqual(self._ilist(doc), ['html', 'body', 'i'])
2353 self.assertEqual(self._ilist(doc.find('body')), ['body', 'i'])
2380 self.assertEqual(self._ilist(a), ['a'])
2384 self.assertEqual(self._ilist(a), ['a', 'b'])
2388 self.assertEqual(self._ilist(a), ['a', 'b', 'c'])
2392 self.assertEqual(self._ilist(a), ['a', 'b', 'c', 'd'])
2397 self.assertEqual(self._ilist(a), ['a', 'd'])
2413 self.assertEqual(self._ilist(doc, 'room'), ['room'] * 3)
2414 self.assertEqual(self._ilist(doc, 'house'), ['house'] * 2)
[all …]