def _compare_dicts(old_results: dict, new_results: dict) -> bool:
    """
    Compare testing dictionaries for equality.

    Compare the dictionaries for equality while ignoring the 'directory' and
    'command' keys since these will always differ amongst tests. If all other
    parameters are equal, it is assumed the tests used the same parameters.

    Parameters
    ----------
    old_results : dict
        A ``dictionary`` of the test parameters used during the
        previously-parsed test log.
    new_results : dict
        A ``dictionary`` of the test parameters used during the test log
        currently being parsed.

    Returns
    -------
    bool
        Returns a ``boolean`` which evaluates to `True` when all of the
        parameters are equal between the two dictionaries and `False` if at
        least on parameter is different.
    """
    ignore_keys = ['directory', 'command']

    old = dict((k, v) for k, v in old_results.items() if k not in ignore_keys)
    new = dict((k, v) for k, v in new_results.items() if k not in ignore_keys)
    return old == new