Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(267152)

Delta Between Two Patch Sets: Lib/test/test_sax.py

Issue 16510: Using appropriate checks in tests
Left Patch Set: Created 5 years, 9 months ago
Right Patch Set: Created 5 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/test/test_richcmp.py ('k') | Lib/test/test_selectors.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # regression test for SAX 2.0 1 # regression test for SAX 2.0
2 # $Id$ 2 # $Id$
3 3
4 from xml.sax import make_parser, ContentHandler, \ 4 from xml.sax import make_parser, ContentHandler, \
5 SAXException, SAXReaderNotAvailable, SAXParseException 5 SAXException, SAXReaderNotAvailable, SAXParseException
6 import unittest 6 import unittest
7 try: 7 try:
8 make_parser() 8 make_parser()
9 except SAXReaderNotAvailable: 9 except SAXReaderNotAvailable:
10 # don't try to test this module if we cannot create a parser 10 # don't try to test this module if we cannot create a parser
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 BytesXmlgenTest, 997 BytesXmlgenTest,
998 WriterXmlgenTest, 998 WriterXmlgenTest,
999 StreamWriterXmlgenTest, 999 StreamWriterXmlgenTest,
1000 StreamReaderWriterXmlgenTest, 1000 StreamReaderWriterXmlgenTest,
1001 ExpatReaderTest, 1001 ExpatReaderTest,
1002 ErrorReportingTest, 1002 ErrorReportingTest,
1003 XmlReaderTest) 1003 XmlReaderTest)
1004 1004
1005 if __name__ == "__main__": 1005 if __name__ == "__main__":
1006 test_main() 1006 test_main()
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+