You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did a pass on the new deprecated tests to make them stylistically more consistent with existing tests. (#1823)
* Ran code formatter
* Moved import statements to top of module
* Fixed spelling issues so code passes spell checking
* Marked usage of imported deprecated symbol as an optional error
Copy file name to clipboardExpand all lines: conformance/results/pytype/directives_deprecated.toml
+15-14Lines changed: 15 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -4,23 +4,24 @@ Does not support @deprecated.
4
4
"""
5
5
conformance_automated = "Fail"
6
6
errors_diff = """
7
-
Line 23: Expected 1 errors
8
7
Line 24: Expected 1 errors
9
-
Line 29: Expected 1 errors
10
-
Line 40: Expected 1 errors
8
+
Line 25: Expected 1 errors
9
+
Line 30: Expected 1 errors
11
10
Line 41: Expected 1 errors
12
-
Line 43: Expected 1 errors
13
-
Line 46: Expected 1 errors
11
+
Line 42: Expected 1 errors
12
+
Line 44: Expected 1 errors
14
13
Line 47: Expected 1 errors
15
-
Line 57: Expected 1 errors
16
-
Line 87: Expected 1 errors
17
-
Line 16: Unexpected errors ['File "directives_deprecated.py", line 16, in <module>: Can\\'t find module \\'_directives_deprecated_library\\'. [import-error]']
18
-
Line 18: Unexpected errors ['File "directives_deprecated.py", line 18, in <module>: typing_extensions.deprecated not supported yet [not-supported-yet]']
19
-
Line 66: Unexpected errors ['File "directives_deprecated.py", line 66, in <module>: typing.override not supported yet [not-supported-yet]']
14
+
Line 48: Expected 1 errors
15
+
Line 58: Expected 1 errors
16
+
Line 69: Expected 1 errors
17
+
Line 98: Expected 1 errors
18
+
Line 10: Unexpected errors ['File "directives_deprecated.py", line 10, in <module>: typing.override not supported yet [not-supported-yet]']
19
+
Line 11: Unexpected errors ['File "directives_deprecated.py", line 11, in <module>: typing_extensions.deprecated not supported yet [not-supported-yet]']
20
+
Line 19: Unexpected errors ['File "directives_deprecated.py", line 19, in <module>: Can\\'t find module \\'_directives_deprecated_library\\'. [import-error]']
20
21
"""
21
22
output = """
22
-
File "directives_deprecated.py", line 15, in <module>: Can't find module '_directives_deprecated_library'. [import-error]
23
-
File "directives_deprecated.py", line 16, in <module>: Can't find module '_directives_deprecated_library'. [import-error]
24
-
File "directives_deprecated.py", line 18, in <module>: typing_extensions.deprecated not supported yet [not-supported-yet]
25
-
File "directives_deprecated.py", line 66, in <module>: typing.override not supported yet [not-supported-yet]
23
+
File "directives_deprecated.py", line 10, in <module>: typing.override not supported yet [not-supported-yet]
24
+
File "directives_deprecated.py", line 11, in <module>: typing_extensions.deprecated not supported yet [not-supported-yet]
25
+
File "directives_deprecated.py", line 18, in <module>: Can't find module '_directives_deprecated_library'. [import-error]
26
+
File "directives_deprecated.py", line 19, in <module>: Can't find module '_directives_deprecated_library'. [import-error]
<thclass="column col2 partially-conformant"><divclass="hover-text">Partial<spanclass="tooltip-text" id="bottom"><p>"</p><p>Produces errors rather than warnings on `reveal_type`.</p></span></div></th>
990
+
<thclass="column col2 partially-conformant"><divclass="hover-text">Partial<spanclass="tooltip-text" id="bottom"><p>Produces errors rather than warnings on `reveal_type`.</p></span></div></th>
991
991
<thclass="column col2 partially-conformant"><divclass="hover-text">Partial<spanclass="tooltip-text" id="bottom"><p>Does not reject call to reveal_type with zero arguments.</p><p>Does not reject call to reveal_type with too many arguments.</p></span></div></th>
0 commit comments