diff options
author | Thomas Kluyver <takowl@gmail.com> | 2011-07-07 21:02:16 +0100 |
---|---|---|
committer | Thomas Kluyver <takowl@gmail.com> | 2011-07-07 21:02:16 +0100 |
commit | b171ca04063136d2cc399c0335226e5016fbe6a1 (patch) | |
tree | 2ad373ec752ef4a28e2656106dbee32e22258156 /bs4/tests/test_tree.py | |
parent | 7b3750d34c8e3f92a9f1b43557bb7b0986c1e0bc (diff) |
Small fix for test.
Diffstat (limited to 'bs4/tests/test_tree.py')
-rw-r--r-- | bs4/tests/test_tree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/tests/test_tree.py b/bs4/tests/test_tree.py index e11b1b9..68677ca 100644 --- a/bs4/tests/test_tree.py +++ b/bs4/tests/test_tree.py @@ -555,7 +555,7 @@ class TestTreeModification(SoupTest): soup.body.insert(1, ol) self.assertEqual( soup.body.encode(), - '<body><a href="http://foo.com/"></a><ol></ol></body>') + b'<body><a href="http://foo.com/"></a><ol></ol></body>') def test_append_to_contents_moves_tag(self): doc = """<p id="1">Don't leave me <b>here</b>.</p> |