Skip to content

Commit 4f982ac

Browse files
committed
TST: unit test for pandas-dev#2214
1 parent 930a267 commit 4f982ac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pandas/tests/test_series.py

+7
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,13 @@ def test_comparisons(self):
184184

185185
assert_almost_equal(result, expected)
186186

187+
s = Series(['a', 'b', 'c'])
188+
s2 = Series([False, True, False])
189+
190+
# it works!
191+
s == s2
192+
s2 == s
193+
187194
def test_none_comparison(self):
188195
# bug brought up by #1079
189196
s = Series(np.random.randn(10), index=range(0, 20, 2))

0 commit comments

Comments
 (0)