def rotate_sizes(self):
        director.window.set_size(*self.size_from_stage[self.stage])
        self.stage = (self.stage + 1) % len(self.size_from_stage)
dataset/ETHPy150Open los-cocos/cocos/test/test_aspect_ratio_on_resize.py/TestLayer.rotate_sizes/original