Skip to content

Commit 7ae2e3f

Browse files
committed
add back ops
1 parent 9c41538 commit 7ae2e3f

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

pandas/tests/extension/base/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class TestMyDtype(BaseDtypeTests):
4646
from .getitem import BaseGetitemTests # noqa
4747
from .groupby import BaseGroupbyTests # noqa
4848
from .interface import BaseInterfaceTests # noqa
49+
from .ops import BaseOpsTests # noqa
4950
from .methods import BaseMethodsTests # noqa
5051
from .missing import BaseMissingTests # noqa
5152
from .reshaping import BaseReshapingTests # noqa

pandas/tests/extension/category/test_categorical.py

-3
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ class TestDtype(base.BaseDtypeTests):
5555
pass
5656

5757

58-
<<<<<<< HEAD
59-
=======
6058
class TestOps(base.BaseOpsTests):
6159

6260
def test_compare_scalar(self, data, all_compare_operators):
@@ -73,7 +71,6 @@ def test_compare_scalar(self, data, all_compare_operators):
7371
getattr(data, op)(0)
7472

7573

76-
>>>>>>> ENH: add ops to extension array
7774
class TestInterface(base.BaseInterfaceTests):
7875
@pytest.mark.skip(reason="Memory usage doesn't match")
7976
def test_memory_usage(self):

pandas/tests/extension/decimal/test_decimal.py

-3
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ class TestInterface(BaseDecimal, base.BaseInterfaceTests):
9999
pass
100100

101101

102-
<<<<<<< HEAD
103-
=======
104102
class TestOps(BaseDecimal, base.BaseOpsTests):
105103

106104
def compare(self, s, op, other):
@@ -136,7 +134,6 @@ def test_compare_scalar(self, data, all_compare_operators):
136134
tm.assert_series_equal(result, expected)
137135

138136

139-
>>>>>>> ENH: add ops to extension array
140137
class TestConstructors(BaseDecimal, base.BaseConstructorsTests):
141138

142139
@pytest.mark.xfail(reason="not implemented constructor from dtype")

pandas/tests/extension/json/test_json.py

+4
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ class TestReshaping(BaseJSON, base.BaseReshapingTests):
141141
pass
142142

143143

144+
class TestOps(BaseJSON, base.BaseOpsTests):
145+
pass
146+
147+
144148
class TestGetitem(BaseJSON, base.BaseGetitemTests):
145149
pass
146150

0 commit comments

Comments
 (0)