MCPcopy
hub / github.com/pandas-dev/pandas / test_numpyextensionarray

Method test_numpyextensionarray

pandas/tests/test_common.py:238–241  ·  view source on GitHub ↗
(self, scalar)

Source from the content-addressed store, hash-verified

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])

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected