Skip to content

Commit 574e72f

Browse files
Daniil KalininDaniil Kalinin
authored andcommitted
conformance: update the results after changes in dataclasses_inheritance.py
1 parent 69fea34 commit 574e72f

File tree

7 files changed

+19
-16
lines changed

7 files changed

+19
-16
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
conformant = "Pass"
1+
conformant = "Partial"
22
output = """
33
dataclasses_inheritance.py:60: error: Cannot override instance variable (previously declared on base class "DC6") with class variable [misc]
44
dataclasses_inheritance.py:64: error: Cannot override class variable (previously declared on base class "DC6") with instance variable [misc]
55
"""
6-
conformance_automated = "Pass"
6+
conformance_automated = "Fail"
77
errors_diff = """
8+
Line 47: Expected 1 errors
89
"""

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.15.0"
2-
test_duration = 1.5
1+
version = "mypy 1.16.0"
2+
test_duration = 3.3

conformance/results/pyre/dataclasses_inheritance.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ output = """
77
"""
88
conformance_automated = "Fail"
99
errors_diff = """
10+
Line 47: Expected 1 errors
1011
Line 60: Expected 1 errors
1112
Line 64: Expected 1 errors
1213
"""

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.23"
2-
test_duration = 10.7
2+
test_duration = 10.4
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
conformant = "Pass"
1+
conformant = "Partial"
22
output = """
33
dataclasses_inheritance.py:60:5 - error: Class variable "x" overrides instance variable of same name in class "DC6" (reportIncompatibleVariableOverride)
44
dataclasses_inheritance.py:64:5 - error: Instance variable "y" overrides class variable of same name in class "DC6" (reportIncompatibleVariableOverride)
55
"""
6-
conformance_automated = "Pass"
6+
conformance_automated = "Fail"
77
errors_diff = """
8+
Line 47: Expected 1 errors
89
"""
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "pyright 1.1.400"
2-
test_duration = 1.1
1+
version = "pyright 1.1.401"
2+
test_duration = 1.8

conformance/results/results.html

Lines changed: 7 additions & 7 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.15.0</div>
162-
<div class='tc-time'>1.5sec</div>
161+
<th class='tc-header'><div class='tc-name'>mypy 1.16.0</div>
162+
<div class='tc-time'>3.3sec</div>
163163
</th>
164-
<th class='tc-header'><div class='tc-name'>pyright 1.1.400</div>
165-
<div class='tc-time'>1.1sec</div>
164+
<th class='tc-header'><div class='tc-name'>pyright 1.1.401</div>
165+
<div class='tc-time'>1.8sec</div>
166166
</th>
167167
<th class='tc-header'><div class='tc-name'>pyre 0.9.23</div>
168-
<div class='tc-time'>10.7sec</div>
168+
<div class='tc-time'>10.4sec</div>
169169
</th>
170170
</tr>
171171
<tr><th class="column" colspan="4">
@@ -643,8 +643,8 @@ <h3>Python Type System Conformance Test Results</h3>
643643
<th class="column col2 partially-conformant"><div class="hover-text">Partial<span class="tooltip-text" id="bottom"><p>Does not report when dataclass is not compatible with Hashable protocol.</p></span></div></th>
644644
</tr>
645645
<tr><th class="column col1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dataclasses_inheritance</th>
646-
<th class="column col2 conformant">Pass</th>
647-
<th class="column col2 conformant">Pass</th>
646+
<th class="column col2 partially-conformant"><div class="hover-text">Partial<span class="tooltip-text" id="bottom"><p>Does not report when the default value of dataclass field is mutable (is of type list, dict, or set).</p></span></div></th>
647+
<th class="column col2 partially-conformant"><div class="hover-text">Partial<span class="tooltip-text" id="bottom"><p>Does not report when the default value of dataclass field is mutable (is of type list, dict, or set).</p></span></div></th>
648648
<th class="column col2 partially-conformant"><div class="hover-text">Partial<span class="tooltip-text" id="bottom"><p>Does not reject ClassVar that is overridden by instance variable.</p><p>Does not reject instance variable that is overridden by ClassVar.</p></span></div></th>
649649
</tr>
650650
<tr><th class="column col1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dataclasses_kwonly</th>

0 commit comments

Comments
 (0)