Package: pandas / 0.23.3+dfsg-3

skip_tests_copyright.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Description: Skip tests removed for copyright reasons

and revert accidental change to _version.py

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

--- 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 = "$Format:%d$"
+    git_full = "$Format:%H$"
-    git_refnames = " (tag: v0.23.3)"
-    git_full = "edb71fda022c6a155717e7a25679040ee0476639"
     keywords = {"refnames": git_refnames, "full": git_full}
     return keywords
 
--- pandas-0.23.3+dfsg.orig/pandas/tests/io/test_html.py
+++ pandas-0.23.3+dfsg/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,