def on_notify(self, event):
        if event in self.event_dict:
            new_music = self.event_dict[event]
            if new_music in setup.MUSIC:
                music_file = setup.MUSIC[new_music]
                pg.mixer.music.load(music_file)
                pg.mixer.music.play(-1)
Consider only approved significances when computing the max.
dataset/ETHPy150Open justinmeister/The-Stolen-Crown-RPG/data/observer.py/MusicChange.on_notify--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/dashboards/tests/test_readouts.py/MostVisitedTranslationsTests.test_consider_only_approved_significances