(self)
| 1022 | assert not res2.any() |
| 1023 | |
| 1024 | def test_isin_dt64tz_with_nat(self): |
| 1025 | # the all-NaT values used to get inferred to tznaive, which was evaluated |
| 1026 | # as non-matching GH#56427 |
| 1027 | dti = date_range("2016-01-01", periods=3, tz="UTC") |
| 1028 | ser = Series(dti) |
| 1029 | ser[0] = NaT |
| 1030 | |
| 1031 | res = algos.isin(ser._values, [NaT]) |
| 1032 | exp = np.array([True, False, False], dtype=bool) |
| 1033 | tm.assert_numpy_array_equal(res, exp) |
| 1034 | |
| 1035 | def test_categorical_from_codes(self): |
| 1036 | # GH 16639 |
nothing calls this directly
no test coverage detected