original_docstring: Assert two dictionaries with numeric values are almost equal.
  
          Fail if the two dictionaries are unequal as determined by
          comparing that the difference between values with the same key are
          not greater than delta (default 1e-8), or that difference rounded
          to the given number of decimal places is not zero. If a key in one
          dictionary is not in the other the default_value keyword argument
          will be used for the missing value (default 0). If the two objects
          compare equal then they will automatically compare almost equal.
  
          Args:
              dict1 (dict): a dictionary.
              dict2 (dict): a dictionary.
              delta (number): threshold for comparison (defaults to 1e-8).
              msg (str): return a custom message on failure.
              places (int): number of decimal places for comparison.
              default_value (number): default value for missing keys.
  
          Raises:
              TypeError: if the arguments are not valid (both `delta` and
                  `places` are specified).
              AssertionError: if the dictionaries are not almost equal.
          
docstring: Assert two dictionaries with numeric values are almost equal.
  Fail if the two dictionaries are unequal as determined by
  comparing that the difference between values with the same key are
  not greater than delta (default 1e-8), or that difference rounded
  to the given number of decimal places is not zero. If a key in one
  dictionary is not in the other the default_value keyword argument
  will be used for the missing value (default 0). If the two objects
  compare equal then they will automatically compare almost equal.
docstring_tokens: Assert two dictionaries with numeric values are almost equal . Fail if the two dictionaries are unequal as determined by comparing that the difference between values with the same key are not greater than delta ( default 1e - 8 ) or that difference rounded to the given number of decimal places is not zero . If a key in one dictionary is not in the other the default_value keyword argument will be used for the missing value ( default 0 ) . If the two objects compare equal then they will automatically compare almost equal .
code: def assertDictAlmostEqual(
          self, dict1, dict2, delta=None, msg=None, places=None, default_value=0
      ):
          """Assert two dictionaries with numeric values are almost equal.
  
          Fail if the two dictionaries are unequal as determined by
          comparing that the difference between values with the same key are
          not greater than delta (default 1e-8), or that difference rounded
          to the given number of decimal places is not zero. If a key in one
          dictionary is not in the other the default_value keyword argument
          will be used for the missing value (default 0). If the two objects
          compare equal then they will automatically compare almost equal.
  
          Args:
              dict1 (dict): a dictionary.
              dict2 (dict): a dictionary.
              delta (number): threshold for comparison (defaults to 1e-8).
              msg (str): return a custom message on failure.
              places (int): number of decimal places for comparison.
              default_value (number): default value for missing keys.
  
          Raises:
              TypeError: if the arguments are not valid (both `delta` and
                  `places` are specified).
              AssertionError: if the dictionaries are not almost equal.
          """
  
          error_msg = dicts_almost_equal(dict1, dict2, delta, places, default_value)
  
          if error_msg:
              msg = self._formatMessage(msg, error_msg)
              raise self.failureException(msg)
code_tokens: def assertDictAlmostEqual ( self , dict1 , dict2 , delta = None , msg = None , places = None , default_value = 0 ) : error_msg = dicts_almost_equal ( dict1 , dict2 , delta , places , default_value ) if error_msg : msg = self . _formatMessage ( msg , error_msg ) raise self . failureException ( msg )
short_docstring: Assert two dictionaries with numeric values are almost equal.
short_docstring_tokens: Assert two dictionaries with numeric values are almost equal .
comment: """Assert two dictionaries with numeric values are almost equal.
  
          Fail if the two dictionaries are unequal as determined by
          comparing that the difference between values with the same key are
          not greater than delta (default 1e-8), or that difference rounded
          to the given number of decimal places is not zero. If a key in one
          dictionary is not in the other the default_value keyword argument
          will be used for the missing value (default 0). If the two objects
          compare equal then they will automatically compare almost equal.
  
          Args:
              dict1 (dict): a dictionary.
              dict2 (dict): a dictionary.
              delta (number): threshold for comparison (defaults to 1e-8).
              msg (str): return a custom message on failure.
              places (int): number of decimal places for comparison.
              default_value (number): default value for missing keys.
  
          Raises:
              TypeError: if the arguments are not valid (both `delta` and
                  `places` are specified).
              AssertionError: if the dictionaries are not almost equal.
          """