Skip to content

Commit 2dd4335

Browse files
committed
Merge pull request #11439 from jreback/py3.5
CI: Py3.5 / numpy 1.10 testing
2 parents 503359c + c37724b commit 2dd4335

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

ci/requirements-3.5.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
python-dateutil
22
pytz
3-
numpy=1.9.3
3+
numpy
44
cython

ci/requirements-3.5.run

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
python-dateutil
22
pytz
3-
numpy=1.9.3
3+
numpy
44
openpyxl
55
xlsxwriter
66
xlrd

pandas/tests/test_categorical.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,7 @@ def test_constructor_unsortable(self):
8787
self.assertFalse(factor.ordered)
8888

8989
# this however will raise as cannot be sorted
90-
# but fixed in newer versions of numpy
91-
if LooseVersion(np.__version__) < "1.10":
92-
self.assertRaises(TypeError, lambda : Categorical.from_array(arr, ordered=True))
93-
else:
94-
Categorical.from_array(arr, ordered=True)
90+
self.assertRaises(TypeError, lambda : Categorical.from_array(arr, ordered=True))
9591

9692
def test_is_equal_dtype(self):
9793

0 commit comments

Comments
 (0)