|
1 | | -conformant = "Unsupported" |
2 | | -notes = """ |
3 | | -Does not support @deprecated. |
4 | | -""" |
5 | | -conformance_automated = "Fail" |
| 1 | +conformant = "Pass" |
| 2 | +conformance_automated = "Pass" |
6 | 3 | errors_diff = """ |
7 | | -Line 18: Expected 1 errors |
8 | | -Line 24: Expected 1 errors |
9 | | -Line 25: Expected 1 errors |
10 | | -Line 30: Expected 1 errors |
11 | | -Line 41: Expected 1 errors |
12 | | -Line 42: Expected 1 errors |
13 | | -Line 44: Expected 1 errors |
14 | | -Line 47: Expected 1 errors |
15 | | -Line 48: Expected 1 errors |
16 | | -Line 58: Expected 1 errors |
17 | | -Line 69: Expected 1 errors |
18 | | -Line 98: Expected 1 errors |
19 | 4 | """ |
20 | 5 | output = """ |
| 6 | +directives_deprecated.py:18: error: class _directives_deprecated_library.Ham is deprecated: Use Spam instead [deprecated] |
| 7 | +directives_deprecated.py:24: error: function _directives_deprecated_library.norwegian_blue is deprecated: It is pining for the fjords [deprecated] |
| 8 | +directives_deprecated.py:25: error: function _directives_deprecated_library.norwegian_blue is deprecated: It is pining for the fjords [deprecated] |
| 9 | +directives_deprecated.py:30: error: overload def (x: builtins.int) -> builtins.str of function _directives_deprecated_library.foo is deprecated: Only str will be allowed [deprecated] |
| 10 | +directives_deprecated.py:41: error: function _directives_deprecated_library.Spam.__add__ is deprecated: There is enough spam in the world [deprecated] |
| 11 | +directives_deprecated.py:42: error: function _directives_deprecated_library.Spam.__add__ is deprecated: There is enough spam in the world [deprecated] |
| 12 | +directives_deprecated.py:44: error: function _directives_deprecated_library.Spam.greasy is deprecated: All spam will be equally greasy [deprecated] |
| 13 | +directives_deprecated.py:47: error: function _directives_deprecated_library.Spam.shape is deprecated: Shapes are becoming immutable [deprecated] |
| 14 | +directives_deprecated.py:48: error: function _directives_deprecated_library.Spam.shape is deprecated: Shapes are becoming immutable [deprecated] |
| 15 | +directives_deprecated.py:58: error: function directives_deprecated.Invocable.__call__ is deprecated: Deprecated [deprecated] |
| 16 | +directives_deprecated.py:69: error: function directives_deprecated.lorem is deprecated: Deprecated [deprecated] |
| 17 | +directives_deprecated.py:98: error: function directives_deprecated.SupportsFoo1.foo is deprecated: Deprecated [deprecated] |
21 | 18 | """ |
0 commit comments