code: def test_numpy_scalars_ok(self, all_logical_operators):
      a = pd.array([True, False, None], dtype="boolean")
      op = getattr(a, all_logical_operators)
  
      tm.assert_extension_array_equal(op(True), op(np.bool_(True)))
      tm.assert_extension_array_equal(op(False), op(np.bool_(False)))
  
imports: import operator
  import numpy
  import pytest
  import pandas
  import pandas._testing
  from pandas.arrays import BooleanArray
  from pandas.core.ops.mask_ops import kleene_and, kleene_or, kleene_xor
  from pandas.tests.extension.base import BaseOpsUtil
label_desc: Use image node_id 1 for calling the TestLogicalOps obj's underlying member method code with example usage: obj.test_numpy_scalars_ok(all_logical_operators) without return types