Skip to content

Commit 2ce0f67

Browse files
fixup rank test
1 parent 4a9c46b commit 2ce0f67

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pandas/tests/series/methods/test_rank.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,11 @@ def test_rank_signature(self):
261261

262262
def test_rank_tie_methods(self, ser, results, dtype, using_infer_string):
263263
method, exp = results
264-
if dtype == "int64" or (not using_infer_string and dtype == "str"):
264+
if (
265+
dtype == "int64"
266+
or dtype == "Int64"
267+
or (not using_infer_string and dtype == "str")
268+
):
265269
pytest.skip("int64/str does not support NaN")
266270

267271
ser = ser if dtype is None else ser.astype(dtype)

0 commit comments

Comments
 (0)