|
1 | | -conformance_automated = "Fail" |
2 | | -conformant = "Partial" |
3 | | -notes = """ |
4 | | -Does not detect calls to deprecated overloads. |
5 | | -Does not detect implicit calls to deprecated dunder methods, for example via operators. |
6 | | -Does not detect accesses of, or attempts to set, deprecated properties. |
7 | | -""" |
| 1 | +conformance_automated = "Pass" |
8 | 2 | errors_diff = """ |
9 | | -Line 30: Expected 1 errors |
10 | | -Line 41: Expected 1 errors |
11 | | -Line 42: Expected 1 errors |
12 | | -Line 44: Expected 1 errors |
13 | | -Line 47: Expected 1 errors |
14 | | -Line 48: Expected 1 errors |
15 | | -Line 58: Expected 1 errors |
16 | 3 | """ |
17 | 4 | output = """ |
18 | 5 | directives_deprecated.py:18:44: error[deprecated] The class `Ham` is deprecated: Use Spam instead |
19 | 6 | directives_deprecated.py:24:9: error[deprecated] The function `norwegian_blue` is deprecated: It is pining for the fjords |
20 | 7 | directives_deprecated.py:25:13: error[deprecated] The function `norwegian_blue` is deprecated: It is pining for the fjords |
| 8 | +directives_deprecated.py:30:1: error[deprecated] The overload of `foo` is deprecated: Only str will be allowed |
21 | 9 | directives_deprecated.py:34:7: error[deprecated] The class `Ham` is deprecated: Use Spam instead |
| 10 | +directives_deprecated.py:41:5: error[deprecated] The function `__add__` is deprecated: There is enough spam in the world |
| 11 | +directives_deprecated.py:42:1: error[deprecated] The function `__add__` is deprecated: There is enough spam in the world |
| 12 | +directives_deprecated.py:44:6: error[deprecated] The function `greasy` is deprecated: All spam will be equally greasy |
| 13 | +directives_deprecated.py:47:6: error[deprecated] The function `shape` is deprecated: Shapes are becoming immutable |
| 14 | +directives_deprecated.py:48:6: error[deprecated] The function `shape` is deprecated: Shapes are becoming immutable |
| 15 | +directives_deprecated.py:58:1: error[deprecated] The function `__call__` is deprecated: Deprecated |
22 | 16 | directives_deprecated.py:69:1: error[deprecated] The function `lorem` is deprecated: Deprecated |
23 | 17 | directives_deprecated.py:98:7: error[deprecated] The function `foo` is deprecated: Deprecated |
24 | 18 | """ |
0 commit comments