def draw_level(self, surface):
        self.level_surface.blit(self.map_image, self.viewport, self.viewport)
        self.level_surface.blit(self.title_box, self.title_rect)
        self.draw_arrow()
        surface.blit(self.level_surface, (0,0), self.viewport)
        surface.blit(self.transition_surface, (0,0))
Test that replay.dump raises when the replay_dir cannot be created.
dataset/ETHPy150Open justinmeister/The-Stolen-Crown-RPG/data/states/main_menu.py/Instructions.draw_level--crossover with--dataset/ETHPy150Open audreyr/cookiecutter/tests/replay/test_dump.py/test_ioerror_if_replay_dir_creation_fails