Skip to content

Commit 4f11d1a

Browse files
CI: Pin blosc to 1.14.3 for travis-27 build (#22429)
1 parent 513c02c commit 4f11d1a

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

ci/travis-27.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ dependencies:
2929
- PyCrypto
3030
- pymysql=0.6.3
3131
- pytables
32+
- blosc=1.14.3
3233
- python-blosc
3334
- python-dateutil=2.5.0
3435
- python=2.7*

pandas/tests/extension/integer/test_integer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def test_groupby_mean_included():
770770
df = pd.DataFrame({
771771
"A": ['a', 'b', 'b'],
772772
"B": [1, None, 3],
773-
"C": IntegerArray([1, None, 3], dtype='Int64'),
773+
"C": integer_array([1, None, 3], dtype='Int64'),
774774
})
775775

776776
result = df.groupby("A").sum()
@@ -784,7 +784,7 @@ def test_groupby_mean_included():
784784

785785
def test_astype_nansafe():
786786
# https://github.com/pandas-dev/pandas/pull/22343
787-
arr = IntegerArray([np.nan, 1, 2], dtype="Int8")
787+
arr = integer_array([np.nan, 1, 2], dtype="Int8")
788788

789789
with tm.assert_raises_regex(
790790
ValueError, 'cannot convert float NaN to integer'):

pandas/tests/frame/test_block_internals.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
from pandas import (DataFrame, Series, Timestamp, date_range, compat,
1414
option_context, Categorical)
15-
from pandas.core.arrays import IntegerArray, IntervalArray
15+
from pandas.core.arrays import IntervalArray, integer_array
1616
from pandas.compat import StringIO
1717
import pandas as pd
1818

@@ -440,9 +440,9 @@ def test_get_numeric_data(self):
440440
def test_get_numeric_data_extension_dtype(self):
441441
# GH 22290
442442
df = DataFrame({
443-
'A': IntegerArray([-10, np.nan, 0, 10, 20, 30], dtype='Int64'),
443+
'A': integer_array([-10, np.nan, 0, 10, 20, 30], dtype='Int64'),
444444
'B': Categorical(list('abcabc')),
445-
'C': IntegerArray([0, 1, 2, 3, np.nan, 5], dtype='UInt8'),
445+
'C': integer_array([0, 1, 2, 3, np.nan, 5], dtype='UInt8'),
446446
'D': IntervalArray.from_breaks(range(7))})
447447
result = df._get_numeric_data()
448448
expected = df.loc[:, ['A', 'C']]

0 commit comments

Comments
 (0)