code: def test_boolean(self):
      self.assertEqual(True & 1, 1)
      self.assertNotIsInstance(True & 1, bool)
      self.assertIs(True & True, True)
  
      self.assertEqual(True | 1, 1)
      self.assertNotIsInstance(True | 1, bool)
      self.assertIs(True | True, True)
  
      self.assertEqual(True ^ 1, 0)
      self.assertNotIsInstance(True ^ 1, bool)
      self.assertIs(True ^ True, False)
  
imports: import unittest
  from test.support import os_helper
  import os
label_desc: Use image node_id 17 for calling the BoolTest obj's underlying member method code with example usage: obj.test_boolean() without return types