Skip to content

Commit 11dd70b

Browse files
committed
Running main.py and using the correct zuban version
1 parent 95756da commit 11dd70b

11 files changed

+21
-23
lines changed

conformance/results/mypy/overloads_definitions_stub.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Allows @override to appear in a stub file not on the first overload.
44
"""
55
conformance_automated = "Fail"
66
errors_diff = """
7-
Lines 143, 147, 149: Expected error (tag 'override_impl')
7+
Lines 143, 146, 147, 149: Expected error (tag 'override_impl')
88
"""
99
output = """
1010
overloads_definitions_stub.pyi:13: error: Single overload definition, multiple required [misc]

conformance/results/mypy/qualifiers_annotated.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,4 @@ Line 85: Expected 1 errors
3838
Line 93: Expected 1 errors
3939
Line 98: Unexpected errors ['qualifiers_annotated.py:98: error: Invalid type: ClassVar nested inside other type [valid-type]']
4040
Line 100: Unexpected errors ['qualifiers_annotated.py:100: error: Final can be only used as an outermost qualifier in a variable annotation [valid-type]']
41-
Line 119: Unexpected errors ['qualifiers_annotated.py:119: error: Cannot redefine "T" as a type variable [misc]', 'qualifiers_annotated.py:119: error: Invalid assignment target [misc]']
4241
"""

conformance/results/mypy/version.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
version = "mypy 1.17.1"
2-
test_duration = 2.8
2+
test_duration = 2.96

conformance/results/pyre/classes_classvar.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,5 @@ Line 70: Expected 1 errors
3333
Line 73: Expected 1 errors
3434
Line 77: Expected 1 errors
3535
Line 78: Expected 1 errors
36-
Line 66: Unexpected errors ['classes_classvar.py:66:4 Uninitialized attribute [13]: Attribute `good5` is declared in class `ClassA` to have type `typing.Any` but is never initialized.']
3736
Line 74: Unexpected errors ['classes_classvar.py:74:8 Incompatible return type [7]: Expected `CV[int]` but got `int`.']
3837
"""

conformance/results/pyre/overloads_definitions_stub.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Expects @final and @override to be present on all overloads, not just first.
44
"""
55
conformance_automated = "Fail"
66
errors_diff = """
7-
Lines 67, 69, 71, 73: Expected error (tag 'invalid_final')
8-
Lines 80, 82, 84, 86: Expected error (tag 'invalid_final_2')
7+
Lines 67, 69, 71, 72, 73: Expected error (tag 'invalid_final')
8+
Lines 80, 82, 84, 85, 86: Expected error (tag 'invalid_final_2')
99
Lines 102, 107, 108, 111, 113: Expected error (tag 'override-final')
1010
Line 63: Unexpected errors ['overloads_definitions_stub.pyi:63:4 Incompatible overload [43]: This definition does not have the same decorators as the preceding overload(s).']
1111
Line 76: Unexpected errors ['overloads_definitions_stub.pyi:76:4 Incompatible overload [43]: This definition does not have the same decorators as the preceding overload(s).']

conformance/results/pyre/typeddicts_alt_syntax.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ errors_diff = """
1313
Line 27: Expected 1 errors
1414
Line 31: Expected 1 errors
1515
Line 35: Expected 1 errors
16-
Line 45: Expected 1 errors
1716
Line 43: Unexpected errors ['typeddicts_alt_syntax.py:43:8 Undefined or invalid type [11]: Annotation `Movie2` is not defined as a type.']
1817
"""

conformance/results/pyre/version.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
version = "pyre 0.9.25"
2-
test_duration = 5.4
2+
test_duration = 5.93
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
version = "pyright 1.1.403"
2-
test_duration = 4.3
2+
test_duration = 3.15

conformance/results/results.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,16 @@ <h3>Python Type System Conformance Test Results</h3>
159159
<div class="table_container"><table><tbody>
160160
<tr><th class="col1">&nbsp;</th>
161161
<th class='tc-header'><div class='tc-name'>mypy 1.17.1</div>
162-
<div class='tc-time'>7.5sec</div>
162+
<div class='tc-time'>3.0sec</div>
163163
</th>
164164
<th class='tc-header'><div class='tc-name'>pyright 1.1.403</div>
165+
<div class='tc-time'>3.1sec</div>
165166
</th>
166167
<th class='tc-header'><div class='tc-name'>pyre 0.9.25</div>
167-
<div class='tc-time'>14.1sec</div>
168+
<div class='tc-time'>5.9sec</div>
168169
</th>
169-
<th class='tc-header'><div class='tc-name'>zuban 0.0.18</div>
170-
<div class='tc-time'>1.9sec</div>
170+
<th class='tc-header'><div class='tc-name'>zuban 0.0.19</div>
171+
<div class='tc-time'>0.15sec</div>
171172
</th>
172173
</tr>
173174
<tr><th class="column" colspan="5">
@@ -651,10 +652,10 @@ <h3>Python Type System Conformance Test Results</h3>
651652
<th class="column col2 partially-conformant"><div class="hover-text">Partial<span class="tooltip-text" id="bottom"><p>Does not validate call to custom metaclass __call__ method through type[T].</p></span></div></th>
652653
</tr>
653654
<tr><th class="column col1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;constructors_callable</th>
654-
<th class="column col2 partially-conformant"><div class="hover-text">Partial<span class="tooltip-text" id="bottom"><p>Does not generate a union type for __new__ and __init__ when converting class to callable.</p><p>Does not ignore __init__ based on __new__ return type when converting class to callable.</p><p>Does not support __new__ return type that is different from class being constructed.</p><p>Struggles with some cases of self types</p></span></div></th>
655+
<th class="column col2 partially-conformant"><div class="hover-text">Partial<span class="tooltip-text" id="bottom"><p>Does not generate a union type for __new__ and __init__ when converting class to callable.</p><p>Does not ignore __init__ based on __new__ return type when converting class to callable.</p><p>Does not support __new__ return type that is different from class being constructed.</p></span></div></th>
655656
<th class="column col2 conformant">Pass</th>
656657
<th class="column col2 partially-conformant"><div class="hover-text">Partial<span class="tooltip-text" id="bottom"><p>Does not generate a union type for __new__ and __init__ when converting class to callable.</p><p>Does not ignore __init__ based on __new__ return type when converting class to callable.</p><p>Does not support __new__ return type that is different from class being constructed.</p><p>Does not use annotated type of self in __init__ method to generate return type of callable.</p><p>Incorrectly raises incompatibility type errors.</p></span></div></th>
657-
<th class="column col2 partially-conformant"><div class="hover-text">Partial<span class="tooltip-text" id="bottom"><p>Does not generate a union type for __new__ and __init__ when converting class to callable.</p><p>Does not ignore __init__ based on __new__ return type when converting class to callable.</p><p>Does not support __new__ return type that is different from class being constructed.</p></span></div></th>
658+
<th class="column col2 partially-conformant"><div class="hover-text">Partial<span class="tooltip-text" id="bottom"><p>Does not generate a union type for __new__ and __init__ when converting class to callable.</p><p>Does not ignore __init__ based on __new__ return type when converting class to callable.</p><p>Does not support __new__ return type that is different from class being constructed.</p><p>Struggles with some cases of self types</p></span></div></th>
658659
</tr>
659660
<tr><th class="column col1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;constructors_consistency</th>
660661
<th class="column col2 conformant"><div class="hover-text">Pass*<span class="tooltip-text" id="bottom"><p>Does not report inconsistency between __new__ and __init__ (optional).</p></span></div></th>

conformance/results/zuban/dataclasses_transform_func.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ conformance_automated = "Pass"
22
errors_diff = """
33
"""
44
output = """
5-
dataclasses_transform_func.py:57: error: Incompatible types in assignment (expression has type "int", variable has type "str")
6-
dataclasses_transform_func.py:61: error: Unsupported left operand type for < ("Customer1")
7-
dataclasses_transform_func.py:65: error: Unexpected keyword argument "salary" for "Customer1"
8-
dataclasses_transform_func.py:71: error: Too many positional arguments for "Customer2"
9-
dataclasses_transform_func.py:90: error: Non-frozen dataclass cannot inherit from a frozen dataclass
10-
dataclasses_transform_func.py:97: error: Property "id" defined in "Customer3" is read-only
5+
dataclasses_transform_func.py:56: error: Incompatible types in assignment (expression has type "int", variable has type "str")
6+
dataclasses_transform_func.py:60: error: Unsupported left operand type for < ("Customer1")
7+
dataclasses_transform_func.py:64: error: Unexpected keyword argument "salary" for "Customer1"
8+
dataclasses_transform_func.py:70: error: Too many positional arguments for "Customer2"
9+
dataclasses_transform_func.py:89: error: Non-frozen dataclass cannot inherit from a frozen dataclass
10+
dataclasses_transform_func.py:96: error: Property "id" defined in "Customer3" is read-only
1111
"""

0 commit comments

Comments
 (0)