diff options
author | Leonard Richardson <leonardr@segfault.org> | 2013-05-31 09:44:37 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2013-05-31 09:44:37 -0400 |
commit | 40d0fcd877e58f2862025f5a39a8ab0861e12b8b (patch) | |
tree | 56da721ec08ef341474cb1836a4c3c14e52b21cb /bs4/tests | |
parent | 9ebf90c684990306433b6c364a93b425a88ef2e7 (diff) |
Reverted the patch that gives NavigableString a .name property, because that's too big an API change for a bugfix release.
Diffstat (limited to 'bs4/tests')
-rw-r--r-- | bs4/tests/test_tree.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bs4/tests/test_tree.py b/bs4/tests/test_tree.py index fc0e2c6..2d09f96 100644 --- a/bs4/tests/test_tree.py +++ b/bs4/tests/test_tree.py @@ -1187,13 +1187,6 @@ class TestElementObjects(SoupTest): soup = self.soup("foo<!--IGNORE-->bar") self.assertEqual(['foo', 'bar'], list(soup.strings)) - def test_string_has_immutable_name_property(self): - string = self.soup("s").string - self.assertEqual(None, string.name) - def t(): - string.name = 'foo' - self.assertRaises(AttributeError, t) - class TestCDAtaListAttributes(SoupTest): """Testing cdata-list attributes like 'class'. |