    def test_resize(self):
        """
        Check that we can create a ResizeScreenError
        """
        scene = Scene([MockEffect()])
        message = "Test message"
        error = ResizeScreenError(message, scene)
        self.assertEqual(error.scene, scene)
        self.assertEqual(str(error), message)
Check that we can create a ResizeScreenError
tests/test_exceptions.py