Skip to content

Commit 6da571d

Browse files
committed
Only check for warning with python 3
1 parent fc33475 commit 6da571d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/series/test_analytics.py

+1
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ def test_mode_intoverflow(self, dropna, expected1, expected2):
363363
s = Series([1, 2**63], dtype=np.uint64)
364364
tm.assert_series_equal(s.mode(dropna), expected2)
365365

366+
@pytest.mark.skipif(not compat.PY3, reason="only PY3")
366367
@pytest.mark.parametrize('dropna, expected', [
367368
(False, ['foo', np.nan]),
368369
])

0 commit comments

Comments
 (0)