From 3e70ba8eacf835c857342cc17c0266f6f262da67 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Sun, 27 Oct 2019 11:38:37 +0000 Subject: [PATCH] skip_tests_copyright and revert accidental change to _version.py Author: Rebecca N. Palmer Forwarded: no Gbp-Pq: Name skip_tests_copyright.patch --- pandas/_version.py | 4 ++-- pandas/tests/io/test_html.py | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pandas/_version.py b/pandas/_version.py index 0679385d..f4c8938c 100644 --- a/pandas/_version.py +++ b/pandas/_version.py @@ -20,8 +20,8 @@ def get_keywords(): # setup.py/versioneer.py will grep for the variable names, so they must # each be defined on a line of their own. _version.py will just call # get_keywords(). - git_refnames = " (tag: v0.23.3)" - git_full = "edb71fda022c6a155717e7a25679040ee0476639" + git_refnames = "$Format:%d$" + git_full = "$Format:%H$" keywords = {"refnames": git_refnames, "full": git_full} return keywords diff --git a/pandas/tests/io/test_html.py b/pandas/tests/io/test_html.py index 9c6a8de7..af2fcaf1 100644 --- a/pandas/tests/io/test_html.py +++ b/pandas/tests/io/test_html.py @@ -365,6 +365,7 @@ class TestReadHtml(object): 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") @@ -375,6 +376,7 @@ class TestReadHtml(object): assert not any(s.isna().any() for _, s in df.iteritems()) @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') @@ -531,6 +533,7 @@ class TestReadHtml(object): res2 = self.read_html(data2, header=0) assert_framelist_equal(res1, res2) + @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, @@ -671,6 +674,7 @@ class TestReadHtml(object): 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') with tm.assert_raises_regex(ParserError, -- 2.30.2