Lines Matching +full:python +full:- +full:version
1 #!/usr/bin/env python
2 # -*- coding: UTF-8 -*-
13 # Python 2
16 # Python 3
22 <?xml version="1.0" encoding="utf-8"?>
25 package="testdb" tests="4" timestamp="2012-11-15T01:02:29">
27 <property name="assert-passed" value="1"/>
29 <testcase classname="testdb.directory" name="1-passed-test" time="10"/>
30 <testcase classname="testdb.directory" name="2-failed-test" time="20">
35 <testcase classname="package.directory" name="3-errord-test" time="15">
40 <testcase classname="package.directory" name="3-skipped-test" time="0">
45 <testcase classname="testdb.directory" name="3-passed-test" time="10">
46 <system-out>
48 </system-out>
49 <system-err>
51 </system-err>
120 Produces clean unicode strings and decodes non-unicode with the help of encoding.
163 stdout_element = ET.SubElement(xml_element, "system-out")
168 stderr_element = ET.SubElement(xml_element, "system-err")
237 stdout_element = ET.Element("system-out")
243 stderr_element = ET.Element("system-err")
257 "Testsuite.to_xml_string is deprecated. It will be removed in version 2.0.0. "
269 …"Testsuite.to_file is deprecated. It will be removed in version 2.0.0. Use function to_xml_report_…
301 xml_string = _clean_illegal_xml_chars(xml_string.decode(encoding or "utf-8"))
306 xml_string = xml_string.encode(encoding or "utf-8")
321 # has problems with encoded str with non-ASCII (non-default-encoding) characters!
329 …ee: http://stackoverflow.com/questions/1707890/fast-way-to-filter-illegal-xml-unicode-chars-in-pyt…
358 …illegal_ranges = ["%s-%s" % (unichr(low), unichr(high)) for (low, high) in illegal_unichrs if low …