def METHOD_NAME(testrepo):
    blob = testrepo[BLOB_SHA]
    patch_one = blob.diff_to_buffer(None)
    blob = testrepo[BLOB_SHA]
    patch_two = blob.diff_to_buffer(None)
    assert patch_one.text == patch_two.text