diff --git a/conformance/tests/protocols_generic.py b/conformance/tests/protocols_generic.py index 95886428..b417e00f 100644 --- a/conformance/tests/protocols_generic.py +++ b/conformance/tests/protocols_generic.py @@ -40,7 +40,7 @@ def method1(self, x: str) -> str: p2: Proto1[int, str] = Concrete1() # E: incompatible type -# Runtime error: Protocol and Generic cannot be used together as base classes. +# > It is an error to combine the shorthand with Generic[T, S, ...] class Proto2(Protocol[T_co], Generic[T_co]): # E ...