diff --git a/comtypes/test/test_comserver.py b/comtypes/test/test_comserver.py index b6373b3d..e0ba99f6 100644 --- a/comtypes/test/test_comserver.py +++ b/comtypes/test/test_comserver.py @@ -177,7 +177,9 @@ def test_UDT(self): v = VARIANT(MYCOLOR(red=1.0, green=2.0, blue=3.0)) value = v.value - self.assertEqual((1.0, 2.0, 3.0), (value.red, value.green, value.blue)) + self.assertEqual(1.0, value.red) # type: ignore + self.assertEqual(2.0, value.green) # type: ignore + self.assertEqual(3.0, value.blue) # type: ignore def func(): v = VARIANT(MYCOLOR(red=1.0, green=2.0, blue=3.0))