(self, scalar)
| 236 | |
| 237 | @pytest.mark.parametrize("scalar", [1, True]) |
| 238 | def test_numpyextensionarray(self, scalar): |
| 239 | # GH 63391 |
| 240 | arr = pd.arrays.NumpyExtensionArray(np.array([scalar])) |
| 241 | assert com.is_bool_indexer(arr) is isinstance(scalar, bool) |
| 242 | |
| 243 | |
| 244 | @pytest.mark.parametrize("with_exception", [True, False]) |