diff --git a/test-data/unit/check-python312.test b/test-data/unit/check-python312.test index 7ef34bf43509..085cc052705d 100644 --- a/test-data/unit/check-python312.test +++ b/test-data/unit/check-python312.test @@ -394,7 +394,6 @@ inv3_2: Invariant3[int] = Invariant3[float](1) # E: Incompatible types in assig [builtins fixtures/property.pyi] [case testPEP695InferVarianceWithInheritedSelf] -# flags: --enable-incomplete-feature=NewGenericSyntax from typing import overload, Self, TypeVar, Generic T = TypeVar("T") @@ -413,7 +412,6 @@ a3: D[int, int] = D[object, object]() # E: Incompatible types in assignment (ex a4: D[object, int] = D[int, object]() # E: Incompatible types in assignment (expression has type "D[int, object]", variable has type "D[object, int]") [case testPEP695InferVarianceWithReturnSelf] -# flags: --enable-incomplete-feature=NewGenericSyntax from typing import Self, overload class Cov[T]: diff --git a/test-data/unit/pythoneval.test b/test-data/unit/pythoneval.test index 0d21f687da04..89f01bff963e 100644 --- a/test-data/unit/pythoneval.test +++ b/test-data/unit/pythoneval.test @@ -2198,7 +2198,7 @@ type L1 = Never type L2 = list[Never] [case testPEP695VarianceInferenceSpecialCaseWithTypeshed] -# flags: --python-version=3.12 --enable-incomplete-feature=NewGenericSyntax +# flags: --python-version=3.12 class C1[T1, T2](list[T1]): def m(self, a: T2) -> None: ...