def METHOD_NAME(tmp_path):
    """
    Checks if a network saved and reloaded as a pickle file is identical.
    :return:
    :rtype:
    """
    net = load_net()
    filename = os.path.abspath(str(tmp_path)) + "test_net_1.p"
    # save test network
    pandapipes.to_pickle(net, filename)
    # load test network
    net2 = pandapipes.from_pickle(filename)
    # check if saved and loaded versions are identical
    assert pandapipes.nets_equal(net, net2), "Error in comparison after saving to Pickle."