Skip to content

CLN: DeprecationWarning in _testing #35942

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fangchenli opened this issue Aug 28, 2020 · 1 comment
Closed

CLN: DeprecationWarning in _testing #35942

fangchenli opened this issue Aug 28, 2020 · 1 comment
Labels
Bug Testing pandas testing functions or related to the test suite Warnings Warnings that appear or should be added to pandas

Comments

@fangchenli
Copy link
Member

fangchenli commented Aug 28, 2020

pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-DatetimeIndex-datetime64[ns]-ctor0-0]
pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-DatetimeIndex-datetime64[ns]-ctor0-0]
pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-DatetimeIndex-datetime64[ns]-ctor0-1]
pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-DatetimeIndex-datetime64[ns]-ctor0-1]
pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-TimedeltaIndex-timedelta64[ns]-ctor1-0]
pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-TimedeltaIndex-timedelta64[ns]-ctor1-0]
pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-TimedeltaIndex-timedelta64[ns]-ctor1-1]
pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-TimedeltaIndex-timedelta64[ns]-ctor1-1]
  /home/fangchenli/Workspace/pandas-VirosaLi/pandas/_testing.py:790: DeprecationWarning: elementwise comparison failed; this will raise an error in the future.
    diff = np.sum((left.values != right.values).astype(int)) * 100.0 / len(left)

@fangchenli fangchenli added Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Aug 28, 2020
fangchenli added a commit to fangchenli/pandas that referenced this issue Aug 28, 2020
@TomAugspurger TomAugspurger added Testing pandas testing functions or related to the test suite Warnings Warnings that appear or should be added to pandas and removed Needs Triage Issue that has not been reviewed by a pandas team member labels Sep 4, 2020
@mroeschke
Copy link
Member

This may have been resolved in the meantime so closing. Can reopen if it comes up again

% pytest pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like
=================================================================== test session starts ====================================================================
platform darwin -- Python 3.8.12, pytest-7.1.2, pluggy-1.0.0

plugins: cython-0.2.0, asyncio-0.18.3, xdist-2.5.0, leaks-0.3.1, forked-1.4.0, hypothesis-6.46.9, instafail-0.4.1, cov-3.0.0
asyncio: mode=strict
collected 24 items

pandas/tests/indexes/test_index_new.py ................xxxx....

=================================================================== slowest 30 durations ===================================================================

(30 durations < 0.005s hidden.  Use -vv to show these durations.)
============================================================== 20 passed, 4 xfailed in 0.46s ===============================================================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Testing pandas testing functions or related to the test suite Warnings Warnings that appear or should be added to pandas
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants