Skip to content

Commit b4b9c4e

Browse files
authored
Updated conformance results for mypy 1.13 and pyright 1.1.386 (#1870)
Pyright fixed one conformance bug in callables_kwargs test. Mypy results did not change.
1 parent adc675f commit b4b9c4e

File tree

6 files changed

+13
-18
lines changed

6 files changed

+13
-18
lines changed

conformance/results/mypy/version.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "mypy 1.12.0"
2-
test_duration = 1.7
1+
version = "mypy 1.13.0"
2+
test_duration = 1.5

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.22"
2-
test_duration = 4.6
2+
test_duration = 4.4

conformance/results/pyright/callables_kwargs.toml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
conformant = "Partial"
2-
notes = """
3-
Incorrectly handles assert_type for unpacked TypedDict.
4-
"""
1+
conformant = "Pass"
52
output = """
63
callables_kwargs.py:28:5 - error: Could not access item in TypedDict
7-
  "v2" is not a required key in "*TD2", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
8-
callables_kwargs.py:41:17 - error: "assert_type" mismatch: expected "TD1" but received "*TD1" (reportAssertTypeFailure)
4+
  "v2" is not a required key in "TD2", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
95
callables_kwargs.py:46:5 - error: Arguments missing for parameters "v1", "v3" (reportCallIssue)
106
callables_kwargs.py:51:32 - error: No parameter named "v4" (reportCallIssue)
117
callables_kwargs.py:52:11 - error: Expected 0 positional arguments (reportCallIssue)
@@ -32,7 +28,6 @@ callables_kwargs.py:103:19 - error: Type "(**kwargs: **TD2) -> None" is not assi
3228
callables_kwargs.py:111:30 - error: Typed dictionary overlaps with keyword parameter: v1 (reportGeneralTypeIssues)
3329
callables_kwargs.py:122:21 - error: Expected TypedDict type argument for Unpack (reportGeneralTypeIssues)
3430
"""
35-
conformance_automated = "Fail"
31+
conformance_automated = "Pass"
3632
errors_diff = """
37-
Line 41: Unexpected errors ['callables_kwargs.py:41:17 - error: "assert_type" mismatch: expected "TD1" but received "*TD1" (reportAssertTypeFailure)']
3833
"""

conformance/results/pyright/typeddicts_readonly_kwargs.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
conformant = "Pass"
22
output = """
33
typeddicts_readonly_kwargs.py:33:5 - error: Could not assign item in TypedDict
4-
  "key1" is a read-only key in "*ReadOnlyArgs" (reportTypedDictNotRequiredAccess)
4+
  "key1" is a read-only key in "ReadOnlyArgs" (reportTypedDictNotRequiredAccess)
55
"""
66
conformance_automated = "Pass"
77
errors_diff = """
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "pyright 1.1.385"
1+
version = "pyright 1.1.386"
22
test_duration = 1.2

conformance/results/results.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,14 @@ <h3>Python Type System Conformance Test Results</h3>
158158
</header>
159159
<div class="table_container"><table><tbody>
160160
<tr><th class="col1">&nbsp;</th>
161-
<th class='tc-header'><div class='tc-name'>mypy 1.12.0</div>
162-
<div class='tc-time'>1.7sec</div>
161+
<th class='tc-header'><div class='tc-name'>mypy 1.13.0</div>
162+
<div class='tc-time'>1.5sec</div>
163163
</th>
164-
<th class='tc-header'><div class='tc-name'>pyright 1.1.385</div>
164+
<th class='tc-header'><div class='tc-name'>pyright 1.1.386</div>
165165
<div class='tc-time'>1.2sec</div>
166166
</th>
167167
<th class='tc-header'><div class='tc-name'>pyre 0.9.22</div>
168-
<div class='tc-time'>4.6sec</div>
168+
<div class='tc-time'>4.4sec</div>
169169
</th>
170170
<th class='tc-header'><div class='tc-name'>pytype 2024.10.11</div>
171171
<div class='tc-time'>33.1sec</div>
@@ -608,7 +608,7 @@ <h3>Python Type System Conformance Test Results</h3>
608608
</tr>
609609
<tr><th class="column col1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;callables_kwargs</th>
610610
<th class="column col2 conformant">Pass</th>
611-
<th class="column col2 partially-conformant"><div class="hover-text">Partial<span class="tooltip-text" id="bottom"><p>Incorrectly handles assert_type for unpacked TypedDict.</p></span></div></th>
611+
<th class="column col2 conformant">Pass</th>
612612
<th class="column col2 not-conformant"><div class="hover-text">Unsupported<span class="tooltip-text" id="bottom"><p>Does not understand Unpack in the context of **kwargs annotation.</p></span></div></th>
613613
<th class="column col2 not-conformant"><div class="hover-text">Unsupported<span class="tooltip-text" id="bottom"><p>Does not understand Unpack in the context of **kwargs annotation.</p></span></div></th>
614614
</tr>

0 commit comments

Comments
 (0)