diff --git a/conformance/results/mypy/constructors_call_metaclass.toml b/conformance/results/mypy/constructors_call_metaclass.toml index 933983b1f..fb84e85db 100644 --- a/conformance/results/mypy/constructors_call_metaclass.toml +++ b/conformance/results/mypy/constructors_call_metaclass.toml @@ -7,14 +7,12 @@ conformance_automated = "Fail" errors_diff = """ Line 26: Unexpected errors ['constructors_call_metaclass.py:26: error: Expression is of type "Class1", not "Never" [assert-type]', 'constructors_call_metaclass.py:26: error: Missing positional argument "x" in call to "Class1" [call-arg]'] Line 39: Unexpected errors ['constructors_call_metaclass.py:39: error: Expression is of type "Class2", not "int | Meta2" [assert-type]', 'constructors_call_metaclass.py:39: error: Missing positional argument "x" in call to "Class2" [call-arg]'] -Line 46: Unexpected errors ['constructors_call_metaclass.py:46: error: Argument 2 for "super" not an instance of argument 1 [misc]'] """ output = """ constructors_call_metaclass.py:26: error: Expression is of type "Class1", not "Never" [assert-type] constructors_call_metaclass.py:26: error: Missing positional argument "x" in call to "Class1" [call-arg] constructors_call_metaclass.py:39: error: Expression is of type "Class2", not "int | Meta2" [assert-type] constructors_call_metaclass.py:39: error: Missing positional argument "x" in call to "Class2" [call-arg] -constructors_call_metaclass.py:46: error: Argument 2 for "super" not an instance of argument 1 [misc] constructors_call_metaclass.py:54: error: Missing positional argument "x" in call to "Class3" [call-arg] constructors_call_metaclass.py:68: error: Missing positional argument "x" in call to "Class4" [call-arg] """ diff --git a/conformance/results/results.html b/conformance/results/results.html index 3ddb751cd..051e4b900 100644 --- a/conformance/results/results.html +++ b/conformance/results/results.html @@ -732,7 +732,7 @@
Emits a diagnostic if `super().__call__()` is called in an overridden `__call__` method on a subclass of `type` and the first argument of the overridden `__call__` method is annotated with `type[T]` where `T` is a type variable with no upper bound.
Does not support __new__ return type that is not a subclass of the class being constructed.
Does not skip evaluation of __init__ based on __new__ return type.
Does not report errors during binding to cls parameter of __new__ method.