def METHOD_NAME():
    text = tkinter.Text(get_main_window())
    peer = tkinter.Text(get_main_window())
    create_peer_widget(text, peer)
    with pytest.raises(
        RuntimeError, match=r"^track_changes\(\) must be called before create_peer_widget\(\)$"
    ):
        track_changes(text)
    with pytest.raises(
        RuntimeError, match=r"^track_changes\(\) must be called before create_peer_widget\(\)$"
    ):
        track_changes(peer)