(any_string_dtype)
| 1314 | |
| 1315 | |
| 1316 | def test_fullmatch_na_kwarg(any_string_dtype): |
| 1317 | ser = Series( |
| 1318 | ["fooBAD__barBAD", "BAD_BADleroybrown", np.nan, "foo"], dtype=any_string_dtype |
| 1319 | ) |
| 1320 | result = ser.str.fullmatch(".*BAD[_]+.*BAD", na=False) |
| 1321 | expected_dtype = ( |
| 1322 | np.bool_ if is_object_or_nan_string_dtype(any_string_dtype) else "boolean" |
| 1323 | ) |
| 1324 | expected = Series([True, False, False, False], dtype=expected_dtype) |
| 1325 | tm.assert_series_equal(result, expected) |
| 1326 | |
| 1327 | |
| 1328 | def test_fullmatch_case_kwarg(any_string_dtype): |
nothing calls this directly
no test coverage detected