def test_set_fullscreen(self):
        self.w = w = window.Window(200, 200)
        w.push_handlers(self)
        w.push_handlers(WindowEventLogger())
        self.on_expose()
        try:
            while not w.has_exit:
                w.dispatch_events()
            w.close()
        except __HOLE__:
            # Child process on linux calls sys.exit(0) when it's done.
            pass
dataset/ETHPy150Open ardekantur/pyglet/tests/window/WINDOW_FULLSCREEN_SIZE.py/WINDOW_SET_FULLSCREEN.test_set_fullscreen