summaryrefslogtreecommitdiff
path: root/src/beautifulsoup/tests/test_strainer.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/beautifulsoup/tests/test_strainer.py')
-rw-r--r--src/beautifulsoup/tests/test_strainer.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/beautifulsoup/tests/test_strainer.py b/src/beautifulsoup/tests/test_strainer.py
deleted file mode 100644
index f078935..0000000
--- a/src/beautifulsoup/tests/test_strainer.py
+++ /dev/null
@@ -1,12 +0,0 @@
-import unittest
-from beautifulsoup import BeautifulSoup
-from beautifulsoup.element import SoupStrainer
-from beautifulsoup.testing import SoupTest
-
-class TestSoupStrainer(unittest.TestCase):
-
- def test_soupstrainer(self):
- strainer = SoupStrainer("b")
- soup = BeautifulSoup("A <b>bold</b> <meta /> <i>statement</i>",
- parseOnlyThese=strainer)
- self.assertEquals(soup.decode(), "<b>bold</b>")