code: def test_kleene_or_scalar(self, other, expected):
      # TODO: test True & False
      a = pd.array([True, False, None], dtype="boolean")
      result = a | other
      expected = pd.array(expected, dtype="boolean")
      tm.assert_extension_array_equal(result, expected)
  
      result = other | a
      tm.assert_extension_array_equal(result, expected)
  
      # ensure we haven't mutated anything inplace
      tm.assert_extension_array_equal(
          a, pd.array([True, False, None], dtype="boolean")
      )
  
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 9 for calling the TestLogicalOps obj's underlying member method code with example usage: obj.test_kleene_or_scalar(other, expected) without return types