Skip to content

Fix arithmetic errors with timedelta64 dtypes #22390

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

Merged
merged 14 commits into from
Aug 23, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
un-xfail no-longer-broken tests
  • Loading branch information
jbrockmendel committed Aug 16, 2018
commit a7502ea86f85e4a9f64ae4298536b8ea2641c3ea
6 changes: 0 additions & 6 deletions pandas/tests/arithmetic/test_numeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,6 @@ def test_numeric_arr_mul_tdscalar(self, scalar_td, index, box):
Timedelta(days=1).to_pytimedelta()],
ids=lambda x: type(x).__name__)
def test_numeric_arr_rdiv_tdscalar(self, scalar_td, index, box):

if box is Series and type(scalar_td) is timedelta:
raise pytest.xfail(reason="TODO: Figure out why this case fails")
if box is pd.DataFrame and isinstance(scalar_td, timedelta):
raise pytest.xfail(reason="TODO: Figure out why this case fails")

expected = TimedeltaIndex(['1 Day', '12 Hours'])

index = tm.box_expected(index, box)
Expand Down