Skip tests removed for copyright reasons
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name skip_tests_copyright.patch

pandas/tests/io/test_html.py

index d818b83202e83ccf7d06c61fe29377ca48e3ccd4..72e5c1c2433db84860f17d6f747dc0c0aad162c7 100644 (file)
@@ -374,6 +374,7 @@ class TestReadHtml:
         assert sorted(zz) == sorted(["Repo", "What"])
 
     @pytest.mark.slow
+    @pytest.mark.skip(reason='test data removed for copyright reasons')
     def test_thousands_macau_stats(self, datapath):
         all_non_nan_table_index = -2
         macau_data = datapath("io", "data", "macau.html")
@@ -383,6 +384,7 @@ class TestReadHtml:
         assert not any(s.isna().any() for _, s in df.items())
 
     @pytest.mark.slow
+    @pytest.mark.skip(reason='test data removed for copyright reasons')
     def test_thousands_macau_index_col(self, datapath):
         all_non_nan_table_index = -2
         macau_data = datapath("io", "data", "macau.html")
@@ -565,6 +567,7 @@ class TestReadHtml:
 
         tm.assert_frame_equal(result, expected)
 
+    @pytest.mark.skip(reason='test data removed for copyright reasons')
     def test_nyse_wsj_commas_table(self, datapath):
         data = datapath("io", "data", "nyse_wsj.html")
         df = self.read_html(data, index_col=0, header=0, attrs={"class": "mdcTable"})[0]
@@ -888,6 +891,7 @@ class TestReadHtml:
         newdf = DataFrame({"datetime": raw_dates})
         tm.assert_frame_equal(newdf, res[0])
 
+    @pytest.mark.skip(reason='test data removed for copyright reasons')
     def test_computer_sales_page(self, datapath):
         data = datapath("io", "data", "computer_sales_page.html")
         msg = (