summaryrefslogtreecommitdiff
path: root/bs4/tests/test_soup.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2013-08-19 10:31:36 -0400
committerLeonard Richardson <leonardr@segfault.org>2013-08-19 10:31:36 -0400
commita4a7c6cb92f550c4a6b992c70fd035240da772e7 (patch)
tree032168df0da82b7612bd8c9d6cd834e1dc3777a7 /bs4/tests/test_soup.py
parentf69a24d0c0f7dae04c5e8b5f2f17910c342ad548 (diff)
Combined two tests to stop a spurious test failure when tests are
run by nodetests. [bug=1212445]
Diffstat (limited to 'bs4/tests/test_soup.py')
-rw-r--r--bs4/tests/test_soup.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/bs4/tests/test_soup.py b/bs4/tests/test_soup.py
index 910b37e..de93513 100644
--- a/bs4/tests/test_soup.py
+++ b/bs4/tests/test_soup.py
@@ -59,15 +59,6 @@ class TestDeprecatedConstructorArguments(SoupTest):
self.assertRaises(
TypeError, self.soup, "<a>", no_such_argument=True)
- @skipIf(
- not LXML_PRESENT,
- "lxml not present, not testing BeautifulStoneSoup.")
- def test_beautifulstonesoup(self):
- with warnings.catch_warnings(record=True) as w:
- soup = BeautifulStoneSoup("<markup>")
- self.assertTrue(isinstance(soup, BeautifulSoup))
- self.assertTrue("BeautifulStoneSoup class is deprecated" in str(w[0].message))
-
class TestWarnings(SoupTest):
def test_disk_file_warning(self):