Skip to content

Commit

Permalink
Uncomment test
Browse files Browse the repository at this point in the history
  • Loading branch information
itholic committed Feb 15, 2021
1 parent d7878b3 commit 8c16164
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions databricks/koalas/tests/test_ops_on_diff_frames.py
Original file line number Diff line number Diff line change
Expand Up @@ -1650,13 +1650,13 @@ def test_series_sub_and_rsub(self):
if LooseVersion(pd.__version__) >= LooseVersion("1.2"):
self.assert_eq(pser.sub(other), kser.sub(other).sort_index())
self.assert_eq(pser - other, (kser - other).sort_index())
# self.assert_eq(pser.rsub(other), kser.rsub(other).sort_index())
# self.assert_eq(other - pser, (other - kser).sort_index())
self.assert_eq(pser.rsub(other), kser.rsub(other).sort_index())
self.assert_eq(other - pser, (other - kser).sort_index())
else:
self.assert_eq(pser.sub(other).rename("x"), kser.sub(other).sort_index())
self.assert_eq((pser - other).rename("x"), (kser - other).sort_index())
# self.assert_eq(pser.rsub(other).rename("x"), kser.rsub(other).sort_index())
# self.assert_eq((other - pser).rename("x"), (other - kser).sort_index())
self.assert_eq(pser.rsub(other).rename("x"), kser.rsub(other).sort_index())
self.assert_eq((other - pser).rename("x"), (other - kser).sort_index())

# other = list with the different length
other = [np.nan, 1, 3, 4, np.nan]
Expand Down

0 comments on commit 8c16164

Please sign in to comment.