original_docstring: 
          Performs self.assertAlmostEqual() on number, and numbers in dictionaries and sequences.
  
          Note that decimal places (from zero) are usually not the same
          as significant digits (measured from the most significant digit).
  
          If the two objects compare equal then they will automatically
          compare almost equal.
          
docstring: Performs self.assertAlmostEqual() on number, and numbers in dictionaries and sequences.
  Note that decimal places (from zero) are usually not the same
  as significant digits (measured from the most significant digit).
  
  If the two objects compare equal then they will automatically
  compare almost equal.
docstring_tokens: Performs self . assertAlmostEqual () on number and numbers in dictionaries and sequences . Note that decimal places ( from zero ) are usually not the same as significant digits ( measured from the most significant digit ) . If the two objects compare equal then they will automatically compare almost equal .
code: def assertAlmostEqualDeep(self,
                                first: Any,
                                second: Any,
                                msg: str = None,
                                places: int = None,
                                delta: float = None):
          """
          Performs self.assertAlmostEqual() on number, and numbers in dictionaries and sequences.
  
          Note that decimal places (from zero) are usually not the same
          as significant digits (measured from the most significant digit).
  
          If the two objects compare equal then they will automatically
          compare almost equal.
          """
          if first == second:
              # shortcut
              return
  
          if isinstance(first, float) or isinstance(second, float):
              self.assertAlmostEqual(first, second, msg=msg, places=places, delta=delta)
              # success
              return
  
          if isinstance(first, set) or isinstance(second, set):
              # we currently cannot almost-equal-compare sets, but it is possible:
              #  - first remove items from both sets that are strictly equal
              #  - secondly remove items from both sets that are almost equal
              #  - are both empty in the end?
              self.assertEqual(first, second, msg=msg)
              # success
              return
  
          if isinstance(first, dict) and isinstance(second, dict):
              if len(first) != len(second):
                  self.assertEqual(first, second, msg=msg)  # fail
              for key, first_value in first.items():
                  if key not in second:
                      self.assertEqual(first, second, msg=msg)  # fail
                  second_value = second[key]
                  self.assertAlmostEqualDeep(first_value, second_value, msg=msg, delta=delta, places=places)
              for key, second_value in second.items():
                  if key not in first:
                      self.assertEqual(first, second, msg=msg)  # fail
              # success
              return
  
          if isinstance(first, (list, tuple, array.array)) and isinstance(second, (list, tuple, array.array)):
              if len(first) != len(second):
                  # let fail
                  self.assertEqual(first, second, msg=msg)
              for first_value, second_value in zip(first, second):
                  self.assertAlmostEqualDeep(first_value, second_value, msg=msg, delta=delta, places=places)
              # success
              return
  
          self.assertEqual(first, second, msg=msg)
code_tokens: def assertAlmostEqualDeep ( self , first : Any , second : Any , msg : str = None , places : int = None , delta : float = None ) : if first == second : return if isinstance ( first , float ) or isinstance ( second , float ) : self . assertAlmostEqual ( first , second , msg = msg , places = places , delta = delta ) return if isinstance ( first , set ) or isinstance ( second , set ) : self . assertEqual ( first , second , msg = msg ) return if isinstance ( first , dict ) and isinstance ( second , dict ) : if len ( first ) != len ( second ) : self . assertEqual ( first , second , msg = msg ) for key , first_value in first . items ( ) : if key not in second : self . assertEqual ( first , second , msg = msg ) second_value = second [ key ] self . assertAlmostEqualDeep ( first_value , second_value , msg = msg , delta = delta , places = places ) for key , second_value in second . items ( ) : if key not in first : self . assertEqual ( first , second , msg = msg ) return if isinstance ( first , ( list , tuple , array . array ) ) and isinstance ( second , ( list , tuple , array . array ) ) : if len ( first ) != len ( second ) : self . assertEqual ( first , second , msg = msg ) for first_value , second_value in zip ( first , second ) : self . assertAlmostEqualDeep ( first_value , second_value , msg = msg , delta = delta , places = places ) return self . assertEqual ( first , second , msg = msg )
short_docstring: Performs self.assertAlmostEqual() on number, and numbers in dictionaries and sequences.
short_docstring_tokens: Performs self . assertAlmostEqual () on number and numbers in dictionaries and sequences .
comment: """
          Performs self.assertAlmostEqual() on number, and numbers in dictionaries and sequences.
  
          Note that decimal places (from zero) are usually not the same
          as significant digits (measured from the most significant digit).
  
          If the two objects compare equal then they will automatically
          compare almost equal.
          """$SEP$# shortcut$SEP$# success$SEP$# we currently cannot almost-equal-compare sets, but it is possible:$SEP$#  - first remove items from both sets that are strictly equal$SEP$#  - secondly remove items from both sets that are almost equal$SEP$#  - are both empty in the end?$SEP$# success$SEP$# fail$SEP$# fail$SEP$# fail$SEP$# success$SEP$# let fail$SEP$# success