code: def test_logical_ops_bool_frame(self):
      # GH#5808
      df1a_bool = DataFrame(True, index=[1], columns=["A"])
  
      result = df1a_bool & df1a_bool
      tm.assert_frame_equal(result, df1a_bool)
  
      result = df1a_bool | df1a_bool
      tm.assert_frame_equal(result, df1a_bool)
  
file_path: pandas/pandas/tests/frame/test_logical_ops.py
imports: import operator
  import re
  import numpy
  import pytest
  from pandas import CategoricalIndex, DataFrame, Interval, Series, isnull
  import pandas._testing
label_desc: Use image node_id 3 for calling the TestDataFrameLogicalOperators obj's underlying member method code with example usage: obj.test_logical_ops_bool_frame() without return types