Skip to content

Commit f85dfa1

Browse files
authored
Fix one mypyc test case on Python 3.11 (#13787)
1 parent 8345d22 commit f85dfa1

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

mypyc/test-data/run-classes.test

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1774,6 +1774,36 @@ Represents a sequence of values. Updates itself by next, which is a new value.
17741774
Represents a sequence of values. Updates itself by next, which is a new value.
17751775
3
17761776
3
1777+
[out version>=3.11]
1778+
Traceback (most recent call last):
1779+
File "driver.py", line 5, in <module>
1780+
print (x.rankine)
1781+
^^^^^^^^^
1782+
File "native.py", line 16, in rankine
1783+
raise NotImplementedError
1784+
NotImplementedError
1785+
0.0
1786+
F: 32.0 C: 0.0
1787+
100.0
1788+
F: 212.0 C: 100.0
1789+
1
1790+
2
1791+
3
1792+
4
1793+
[7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
1794+
[7, 22, 11, 34, 17, 52, 26, 13, 40, 20, 10, 5, 16, 8, 4, 2, 1, 4, 2, 1]
1795+
[7, 11, 17, 26, 40, 10, 16, 4, 1, 2, 4, 1, 2, 4, 1, 2, 4, 1, 2, 4]
1796+
10
1797+
34
1798+
26
1799+
[7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
1800+
[7, 22, 11, 34, 17, 52, 26, 13, 40, 20, 10, 5, 16, 8, 4, 2, 1, 4, 2, 1]
1801+
[7, 11, 17, 26, 40, 10, 16, 4, 1, 2, 4, 1, 2, 4, 1, 2, 4, 1, 2, 4]
1802+
Represents a sequence of values. Updates itself by next, which is a new value.
1803+
Represents a sequence of values. Updates itself by next, which is a new value.
1804+
Represents a sequence of values. Updates itself by next, which is a new value.
1805+
3
1806+
3
17771807

17781808
[case testPropertySetters]
17791809

0 commit comments

Comments
 (0)