Skip to content

Commit 925b555

Browse files
committed
Review (jreback)
1 parent d20077a commit 925b555

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

pandas/tests/indexes/period/test_partial_slicing.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ def test_range_slice_day(self):
6868
didx = DatetimeIndex(start='2013/01/01', freq='D', periods=400)
6969
pidx = PeriodIndex(start='2013/01/01', freq='D', periods=400)
7070

71-
# exception changed to TypeError in 1.12
72-
# https://github.com/numpy/numpy/pull/6271
73-
7471
for idx in [didx, pidx]:
7572
# slices against index should raise IndexError
7673
values = ['2014', '2013/02', '2013/01/02', '2013/02/01 9H',
@@ -97,9 +94,6 @@ def test_range_slice_seconds(self):
9794
periods=4000)
9895
pidx = PeriodIndex(start='2013/01/01 09:00:00', freq='S', periods=4000)
9996

100-
# exception changed to TypeError in 1.12
101-
# https://github.com/numpy/numpy/pull/6271
102-
10397
for idx in [didx, pidx]:
10498
# slices against index should raise IndexError
10599
values = ['2014', '2013/02', '2013/01/02', '2013/02/01 9H',

pandas/tests/test_expressions.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,6 @@ def testit():
272272
for op, op_str in [('add', '+'), ('sub', '-'), ('mul', '*'),
273273
('div', '/'), ('pow', '**')]:
274274

275-
# numpy >= 1.11 doesn't handle integers
276-
# raised to integer powers
277-
# https://github.com/pandas-dev/pandas/issues/15363
278275
if op == 'pow':
279276
continue
280277

0 commit comments

Comments
 (0)