commit | f434ba9e4ef5a68940757ba5e3527dd02fdb53ca | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Tue Mar 15 17:23:21 2011 -0400 |
committer | Brett Cannon <brett@python.org> | Tue Mar 15 17:23:21 2011 -0400 |
tree | a07c3480561906d1aa0ce04ea6cbd2b732ff3cca | |
parent | f30645d5521afe5537befd0d9e84a7c539135cdc [diff] | |
parent | 765dcdede824c41011228461e4a5fdaec6fc90d2 [diff] |
merge
diff --git a/Lib/test/test_pulldom.py b/Lib/test/test_pulldom.py index 4171526..b81a595 100644 --- a/Lib/test/test_pulldom.py +++ b/Lib/test/test_pulldom.py
@@ -32,7 +32,9 @@ # fragment. # Test with a filename: - list(pulldom.parse(tstfile)) + handler = pulldom.parse(tstfile) + self.addCleanup(handler.stream.close) + list(handler) # Test with a file object: with open(tstfile, "rb") as fin: