diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-11 16:02:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-11 16:02:49 +0100 |
commit | 88ebe56470c37b02a044e1091cad6b2df0f3be8f (patch) | |
tree | d80b2d9337c01c4a0fe11a2ef9691fc3153ed6d3 /dev-python/pandas/files | |
parent | 4645b6f17f0da81e9fe84081fb126a37102ba153 (diff) |
gentoo resync : 11.05.2018
Diffstat (limited to 'dev-python/pandas/files')
-rw-r--r-- | dev-python/pandas/files/pandas-0.17.0-testfix-backport.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/dev-python/pandas/files/pandas-0.17.0-testfix-backport.patch b/dev-python/pandas/files/pandas-0.17.0-testfix-backport.patch deleted file mode 100644 index c83319256f22..000000000000 --- a/dev-python/pandas/files/pandas-0.17.0-testfix-backport.patch +++ /dev/null @@ -1,28 +0,0 @@ - pandas/tests/test_categorical.py | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/pandas/tests/test_categorical.py b/pandas/tests/test_categorical.py -old mode 100755 -new mode 100644 -index e97010e..1d14323 ---- a/pandas/tests/test_categorical.py -+++ b/pandas/tests/test_categorical.py -@@ -86,12 +86,14 @@ class TestCategorical(tm.TestCase): - factor = Categorical.from_array(arr, ordered=False) - self.assertFalse(factor.ordered) - -- # this however will raise as cannot be sorted -- # but fixed in newer versions of numpy -- if LooseVersion(np.__version__) < "1.10": -+ if compat.PY3: - self.assertRaises(TypeError, lambda : Categorical.from_array(arr, ordered=True)) - else: -- Categorical.from_array(arr, ordered=True) -+ # this however will raise as cannot be sorted (on PY3 or older numpies) -+ if LooseVersion(np.__version__) < "1.10": -+ self.assertRaises(TypeError, lambda : Categorical.from_array(arr, ordered=True)) -+ else: -+ Categorical.from_array(arr, ordered=True) - - def test_is_equal_dtype(self): - |