COMPAT/TST: fix test for range testing of negative integers to neg powers
xref https://github.com/numpy/numpy/pull/8127

closes #14489

## [Current coverage](https://codecov.io/gh/pandas-dev/pandas/pull/14498?src=pr) is 85.26% (diff: 100%)

> Merging [#14498](https://codecov.io/gh/pandas-dev/pandas/pull/14498?src=pr) into [master](https://codecov.io/gh/pandas-dev/pandas/branch/master?src=pr) will not change coverage

``` diff
@@             master     #14498   diff @@
==========================================
  Files           140        140          
  Lines         50670      50670          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits          43205      43205          
  Misses         7465       7465          
  Partials          0          0          
```

> Powered by [Codecov](https://codecov.io?src=pr). Last update [e3d943d...882872e](https://codecov.io/gh/pandas-dev/pandas/compare/e3d943d1876e8914036e9c323f1876e52da34a04...882872e64ff7c4a50e54f1fb1a14dcad911633ab?src=pr)
 FWIW I think this one is not complete as for resolving the issue with numpy beta starting to  error on negative powers for ints, see my reply on numpy mailing list:  https://www.mail-archive.com/numpy-discussion@scipy.org/msg51230.html @yarikoptic I believe you are using a 32-bit machine, which we have talked about before, would accept patches (IIRC you have an open PR for just that). but we don't test regularly on that. Details escaped me but I think this issue was not solely 32bit-related. Unfortunately discussion on the numpy-discussion mailing list (https://www.mail-archive.com/numpy-discussion@scipy.org/msg51233.html) died off without resolution AFAIK.

And yes -- there is a still open https://github.com/pandas-dev/pandas/pull/15044  ;-)
Cheers