Skip to content

Commit d850140

Browse files
authored
CLN: Fix unwanted pattern in unittest (#37404)
1 parent 35085ad commit d850140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/series/test_constructors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ def test_constructor_invalid_coerce_ints_with_float_nan(self, any_int_dtype):
694694

695695
msg = "cannot convert float NaN to integer"
696696
with pytest.raises(ValueError, match=msg):
697-
pd.Series([1, 2, np.nan], dtype=any_int_dtype)
697+
Series([1, 2, np.nan], dtype=any_int_dtype)
698698

699699
def test_constructor_dtype_no_cast(self):
700700
# see gh-1572

0 commit comments

Comments
 (0)