From a8ca557241716636bca4697d4894278ed3d22ce4 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Wed, 29 Dec 2010 19:08:27 -0500 Subject: Moved over a test for incorrectly nested tables. --- src/beautifulsoup/tests/helpers.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/beautifulsoup/tests/helpers.py') diff --git a/src/beautifulsoup/tests/helpers.py b/src/beautifulsoup/tests/helpers.py index c8189e3..20d087e 100644 --- a/src/beautifulsoup/tests/helpers.py +++ b/src/beautifulsoup/tests/helpers.py @@ -145,4 +145,10 @@ class BuilderInvalidMarkupSmokeTest(SoupTest): soup = self.soup("
foo
") self.assertEquals(soup.table.td['nowrap'], '') + def test_incorrectly_nested_tables(self): + self.assertSoupEquals( + '
', + '
') + + -- cgit v1.2.3