We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99da6f0 commit 1041bc2Copy full SHA for 1041bc2
pandas/tests/arrays/string_/test_string.py
@@ -200,6 +200,9 @@ def test_constructor_raises():
200
with pytest.raises(ValueError, match="strings or pandas.NA"):
201
pd.arrays.StringArray(np.array(["a", None], dtype=object))
202
203
+ with pytest.raises(ValueError, match="strings or pandas.NA"):
204
+ pd.arrays.StringArray(np.array(["a", pd.NaT], dtype=object))
205
+
206
207
def test_from_sequnce_no_mutate():
208
a = np.array(["a", pd.NA], dtype=object)
0 commit comments