class_docstr: Pair for :class:`bool` inputs.
  
  .. note::
  
      If ``numpy`` is available, also handles :class:`numpy.bool_` inputs.
class_docstr_tok: ["Pair","for",":","class",":","`","bool","`","inputs",".","..","note",":",":","If","``","numpy","``","is","available",",","also","handles",":","class",":","`","numpy.bool_","`","inputs","."]
code: def compare(self) -> None:
      if self.actual is not self.expected:
          self._fail(
              AssertionError,
              f"Booleans mismatch: {self.actual} is not {self.expected}",
          )
  
imports: import abc
  import cmath
  import collections.abc
  import contextlib
  import warnings
  from typing import Any, Callable, Collection, Dict, List, NoReturn, Optional, Sequence, Tuple, Type, Union
  import torch
label_desc: Use image node_id 5 for calling the BooleanPair obj's underlying member method code with example usage: obj.compare() without return types