def deduplicate_dictionary(listofdictionaries):
    """
    Removes duplicate dictionaries in a list.

    Parameters
    ----------
    arg1: list containing dictionaries

    Exceptions
    ----------
    None

    Usage
    -----
    # list
    list_of_dictionaries = [{'dict1': 2}, 
                            {'dict1': 2}, 
                            {'dict2': 3}]
    # run
    deduplicate_dictionary(list_of_dictionaries)

    Returns
    -------
    No order is assumed in the output
    [{'dict1': 2}, {'dict2': 3}]

    Doctest
    -------
    >>> deduplicate_dictionary([{'test': 2}, {'test': 2}])
    [{'test': 2}]

    """
    return [dict(tupleized) for tupleized in set(tuple(item.items()) for item in listofdictionaries)]