diff options
Diffstat (limited to 'Lib/dos-8x3/test_xml.py')
-rw-r--r-- | Lib/dos-8x3/test_xml.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Lib/dos-8x3/test_xml.py b/Lib/dos-8x3/test_xml.py deleted file mode 100644 index eb868a3..0000000 --- a/Lib/dos-8x3/test_xml.py +++ /dev/null @@ -1,25 +0,0 @@ -'''Test module to thest the xmllib module. - Sjoerd Mullender -''' - -from test_support import verbose - -testdoc = """\ -<?xml version="1.0" encoding="UTF-8" standalone='yes' ?> -<!-- comments aren't allowed before the <?xml?> tag, - but they are allowed before the <!DOCTYPE> tag --> -<!DOCTYPE greeting [ - <!ELEMENT greeting (#PCDATA)> -]> -<greeting>Hello, world!</greeting> -""" - -import xmllib -if verbose: - parser = xmllib.TestXMLParser() -else: - parser = xmllib.XMLParser() - -for c in testdoc: - parser.feed(c) -parser.close() |