diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index 276f95bacfcf08..4fe17a655dfd3a 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -2916,8 +2916,8 @@ class DI: def __init__(self): self.x = None - self.assertIsInstance(C(), P) - self.assertIsInstance(D(), P) + self.assertIsInstance(CI(), P) + self.assertIsInstance(DI(), P) def test_protocols_in_unions(self): class P(Protocol):