summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO11
-rw-r--r--tests/test_tree.py2
2 files changed, 5 insertions, 8 deletions
diff --git a/TODO b/TODO
index 2606566..060dc13 100644
--- a/TODO
+++ b/TODO
@@ -1,10 +1,7 @@
-3.0.8 optimized findAll('tag-name') and findAll(True), bypassing the
-soupstrainer process.
-
-define a setter for Tag.string which replaces the tag's contents with
-a string.
-
-Tag.text: concatenate all strings and return them
+if len(tag) > 3 and tag.endswith('Tag'): -> endswith('_tag')
+markup_attr_map can be optimized since it's always a map now.
+Can we get rid of isList?
+Split self.assertRaises(ValueError, tree.index, 1) into a separate test
Bare ampersands should be converted to HTML entities upon output.
diff --git a/tests/test_tree.py b/tests/test_tree.py
index a6ad000..1718c6a 100644
--- a/tests/test_tree.py
+++ b/tests/test_tree.py
@@ -700,7 +700,7 @@ class TestTreeModification(SoupTest):
self.assertEqual(to_text.next, g_tag)
self.assertEqual(to_text.next_sibling, g_tag)
self.assertEqual(g_tag.previous, to_text)
- self.assertEqual(g_tag.previous_sibling, to_text)
+ self.assertEqual(g_tag.previous_sibling, to_text)
def test_replace_with_children(self):
tree = self.soup("""