def METHOD_NAME():
    text = tkinter.Text(get_main_window())
    track_changes(text)
    with pytest.raises(
        RuntimeError, match=r"^track_changes\(\) called twice for same text widget$"
    ):
        track_changes(text)