|
12 | 12 |
|
13 | 13 | from pandas.core.api import DataFrame, Panel
|
14 | 14 | from pandas.computation import expressions as expr
|
15 |
| -from pandas import compat, _np_version_under1p12 |
| 15 | +from pandas import compat, _np_version_under1p11 |
16 | 16 | from pandas.util.testing import (assert_almost_equal, assert_series_equal,
|
17 | 17 | assert_frame_equal, assert_panel_equal,
|
18 | 18 | assert_panel4d_equal, slow)
|
@@ -70,10 +70,10 @@ def run_arithmetic(self, df, other, assert_func, check_dtype=False,
|
70 | 70 | operations.append('div')
|
71 | 71 | for arith in operations:
|
72 | 72 |
|
73 |
| - # numpy >= 1.12 doesn't handle integers |
| 73 | + # numpy >= 1.11 doesn't handle integers |
74 | 74 | # raised to integer powers
|
75 | 75 | # https://github.com/pandas-dev/pandas/issues/15363
|
76 |
| - if arith == 'pow' and not _np_version_under1p12: |
| 76 | + if arith == 'pow' and not _np_version_under1p11: |
77 | 77 | continue
|
78 | 78 |
|
79 | 79 | operator_name = arith
|
@@ -272,10 +272,10 @@ def testit():
|
272 | 272 | for op, op_str in [('add', '+'), ('sub', '-'), ('mul', '*'),
|
273 | 273 | ('div', '/'), ('pow', '**')]:
|
274 | 274 |
|
275 |
| - # numpy >= 1.12 doesn't handle integers |
| 275 | + # numpy >= 1.11 doesn't handle integers |
276 | 276 | # raised to integer powers
|
277 | 277 | # https://github.com/pandas-dev/pandas/issues/15363
|
278 |
| - if op == 'pow' and not _np_version_under1p12: |
| 278 | + if op == 'pow' and not _np_version_under1p11: |
279 | 279 | continue
|
280 | 280 |
|
281 | 281 | if op == 'div':
|
|
0 commit comments