Skip to content

Commit b88deda

Browse files
committed
Update generated conformance results
1 parent 3d910e6 commit b88deda

File tree

6 files changed

+13
-6
lines changed

6 files changed

+13
-6
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
conformant = "Pass"
22
output = """
33
generics_typevartuple_callable.py:26: error: Argument "target" to "Process" has incompatible type "Callable[[int, str], None]"; expected "Callable[[str, int], None]" [arg-type]
4+
generics_typevartuple_callable.py:50: error: Expression is of type "tuple[complex, str, float]", not "tuple[float, str, complex]" [assert-type]
45
"""
5-
conformance_automated = "Pass"
6+
conformance_automated = "Fail"
67
errors_diff = """
8+
Line 50: Unexpected errors ['generics_typevartuple_callable.py:50: error: Expression is of type "tuple[complex, str, float]", not "tuple[float, str, complex]" [assert-type]']
79
"""
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
conformant = "Pass"
2-
conformance_automated = "Pass"
2+
conformance_automated = "Fail"
33
errors_diff = """
4+
Line 50: Unexpected errors ['assert_type(tuple[complex, str, float], tuple[float, str, complex]) failed [assert-type]']
45
"""
56
output = """
67
ERROR generics_typevartuple_callable.py:26:28-35: Argument `tuple[Literal[''], Literal[0]]` is not assignable to parameter `args` with type `tuple[int, str]` in function `Process.__init__` [bad-argument-type]
8+
ERROR generics_typevartuple_callable.py:50:16-63: assert_type(tuple[complex, str, float], tuple[float, str, complex]) failed [assert-type]
79
"""

conformance/results/pyright/generics_typevartuple_callable.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ output = """
33
generics_typevartuple_callable.py:26:28 - error: Argument of type "tuple[Literal[''], Literal[0]]" cannot be assigned to parameter "args" of type "tuple[*Ts@__init__]" in function "__init__"
44
  "Literal['']" is not assignable to "int"
55
  "Literal[0]" is not assignable to "str" (reportArgumentType)
6+
generics_typevartuple_callable.py:50:17 - error: "assert_type" mismatch: expected "tuple[float, str, complex]" but received "tuple[complex, str, float]" (reportAssertTypeFailure)
67
"""
7-
conformance_automated = "Pass"
8+
conformance_automated = "Fail"
89
errors_diff = """
10+
Line 50: Unexpected errors ['generics_typevartuple_callable.py:50:17 - error: "assert_type" mismatch: expected "tuple[float, str, complex]" but received "tuple[complex, str, float]" (reportAssertTypeFailure)']
911
"""

conformance/results/pyright/qualifiers_final_decorator.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
conformant = "Pass"
22
output = """
3-
qualifiers_final_decorator.py:8:6 - warning: Import "_qualifiers_final_decorator" could not be resolved from source (reportMissingModuleSource)
43
qualifiers_final_decorator.py:21:16 - error: Base class "Base1" is marked final and cannot be subclassed (reportGeneralTypeIssues)
54
qualifiers_final_decorator.py:56:9 - error: Method "method1" cannot override final method defined in class "Base2" (reportIncompatibleMethodOverride)
65
qualifiers_final_decorator.py:60:9 - error: Method "method2" cannot override final method defined in class "Base2" (reportIncompatibleMethodOverride)

conformance/results/results.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ <h3>Python Type System Conformance Test Results</h3>
385385
<tr><th class="column col1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;generics_typevartuple_callable</th>
386386
<th class="column col2 conformant">Pass</th>
387387
<th class="column col2 conformant">Pass</th>
388-
<th class="column col2 conformant">Pass</th>
388+
<th class="column col2 not-conformant">Unknown</th>
389389
<th class="column col2 conformant">Pass</th>
390390
</tr>
391391
<tr><th class="column col1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;generics_typevartuple_concat</th>
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
conformance_automated = "Pass"
1+
conformance_automated = "Fail"
22
errors_diff = """
3+
Line 50: Unexpected errors ['generics_typevartuple_callable.py:50: error: Expression is of type "tuple[complex, str, float]", not "tuple[float, str, complex]" [misc]']
34
"""
45
output = """
56
generics_typevartuple_callable.py:26: error: Argument "args" to "Process" has incompatible type "tuple[str, int]"; expected "tuple[int, str]" [arg-type]
7+
generics_typevartuple_callable.py:50: error: Expression is of type "tuple[complex, str, float]", not "tuple[float, str, complex]" [misc]
68
"""

0 commit comments

Comments
 (0)