~ubuntu-branches/ubuntu/lucid/python2.6/lucid

« back to all changes in this revision

Viewing changes to Lib/test/test_sgmllib.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-03-11 13:30:19 UTC
  • mto: (10.1.13 sid)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20100311133019-sblbooa3uqrkoe70
Tags: upstream-2.6.5~rc2
ImportĀ upstreamĀ versionĀ 2.6.5~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
298
298
            ("starttag", "a", [("href", "http://[1080::8:800:200C:417A]/")]),
299
299
            ])
300
300
 
301
 
    def test_illegal_declarations(self):
302
 
        s = 'abc<!spacer type="block" height="25">def'
303
 
        self.check_events(s, [
304
 
            ("data", "abc"),
305
 
            ("unknown decl", 'spacer type="block" height="25"'),
306
 
            ("data", "def"),
307
 
            ])
308
 
 
309
301
    def test_weird_starttags(self):
310
302
        self.check_events("<a<a>", [
311
303
            ("starttag", "a", []),