TST: suppress deprecation warnings for compress
xref https://github.com/pandas-dev/pandas/pull/21930#issuecomment-408068861

In case we find it OK `np.compress` with Series is also deprecated, this PR makes sure the warnings are catched in the tests.