diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-09-04 02:22:52 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-09-04 02:22:52 (GMT) |
commit | a7f4f5a772163322178ccb4c954e3bd04da5317f (patch) | |
tree | 8b6798861ec265f92bef8e7ace5155cf206ea9a7 /Lib/test/test_sax.py | |
parent | ecaab837b6ef36edf1840afdba1fbab747c049d7 (diff) | |
download | cpython-a7f4f5a772163322178ccb4c954e3bd04da5317f.zip cpython-a7f4f5a772163322178ccb4c954e3bd04da5317f.tar.gz cpython-a7f4f5a772163322178ccb4c954e3bd04da5317f.tar.bz2 |
#2501 xml.sax.parser doesn't terminate when given a filename; enable some more tests!
Reviewed by myself
Diffstat (limited to 'Lib/test/test_sax.py')
-rw-r--r-- | Lib/test/test_sax.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Lib/test/test_sax.py b/Lib/test/test_sax.py index 5f1a48e..a45d1f3 100644 --- a/Lib/test/test_sax.py +++ b/Lib/test/test_sax.py @@ -446,8 +446,7 @@ class ExpatReaderTest(XmlTestBase): # ===== InputSource support - def XXXtest_expat_inpsource_filename(self): - # FIXME: test blocks indefinitely + def test_expat_inpsource_filename(self): parser = create_parser() result = StringIO() xmlgen = XMLGenerator(result) @@ -457,8 +456,7 @@ class ExpatReaderTest(XmlTestBase): self.assertEquals(result.getvalue(), xml_test_out) - def XXXtest_expat_inpsource_sysid(self): - # FIXME: test blocks indefinitely + def test_expat_inpsource_sysid(self): parser = create_parser() result = StringIO() xmlgen = XMLGenerator(result) @@ -531,8 +529,7 @@ class ExpatReaderTest(XmlTestBase): self.assertEquals(parser.getPublicId(), None) self.assertEquals(parser.getLineNumber(), 1) - def XXXtest_expat_locator_withinfo(self): - # FIXME: test blocks indefinitely + def test_expat_locator_withinfo(self): result = StringIO() xmlgen = XMLGenerator(result) parser = create_parser() |