From 6628fc01dc27ecc522eb449fa654185fecdf5f8c Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Tue, 28 Feb 2012 10:33:15 -0500 Subject: Fixed the generated XML declaration. --- bs4/testing.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bs4/testing.py') diff --git a/bs4/testing.py b/bs4/testing.py index 49644c3..717e721 100644 --- a/bs4/testing.py +++ b/bs4/testing.py @@ -370,17 +370,17 @@ class XMLTreeBuilderSmokeTest(object): def test_docstring_generated(self): soup = self.soup("") self.assertEqual( - soup.encode(), b'\n') + soup.encode(), b'\n') def test_docstring_includes_correct_encoding(self): soup = self.soup("") self.assertEqual( soup.encode("latin1"), - b'\n') + b'\n') def test_real_xhtml_document(self): """A real XHTML document should come out the same as it went in.""" - markup = b""" + markup = b""" Hello. -- cgit v1.2.3