diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 08:05:43 +0200 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 08:05:43 +0200 |
commit | 2f48d892d4036b500f5b79d152b3166b4d205dc9 (patch) | |
tree | 84b7b98bf34da03b275e04726884c27ec33c917b /Lib/test/test_minidom.py | |
parent | 8269a44d5095cbd0c351aedc41272e9a6d91c269 (diff) | |
download | cpython-git-2f48d892d4036b500f5b79d152b3166b4d205dc9.tar.gz |
Stop trying to use _xmlplus in the xml module. Closes #11164.
Patch by Arfrever Frehtes Taifersar Arahesis.
Diffstat (limited to 'Lib/test/test_minidom.py')
-rw-r--r-- | Lib/test/test_minidom.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py index c58d17dbd7..8a8afef0ee 100644 --- a/Lib/test/test_minidom.py +++ b/Lib/test/test_minidom.py @@ -51,26 +51,6 @@ def create_doc_with_doctype(): return doc class MinidomTest(unittest.TestCase): - def tearDown(self): - try: - Node.allnodes - except AttributeError: - # We don't actually have the minidom from the standard library, - # but are picking up the PyXML version from site-packages. - pass - else: - self.confirm(len(Node.allnodes) == 0, - "assertion: len(Node.allnodes) == 0") - if len(Node.allnodes): - print("Garbage left over:") - if verbose: - print(list(Node.allnodes.items())[0:10]) - else: - # Don't print specific nodes if repeatable results - # are needed - print(len(Node.allnodes)) - Node.allnodes = {} - def confirm(self, test, testname = "Test"): self.assertTrue(test, testname) |