David Peter
99fa850e53
[red-knot] Assignability for subclasses of Any and Unknown ( #17557 )
...
## Summary
Allow (instances of) subclasses of `Any` and `Unknown` to be assignable
to (instances of) other classes, unless they are final. This allows us
to get rid of ~1000 false positives, mostly when mock-objects like
`unittest.mock.MagicMock` are assigned to various targets.
## Test Plan
Adapted and new Markdown tests.
2025-04-23 11:37:30 +02:00
..
2025-04-22 12:08:03 -04:00
2025-04-17 14:00:30 -04:00
2025-04-22 09:20:53 -07:00
2025-04-23 11:37:30 +02:00
2025-04-18 01:32:12 +05:30
2025-04-17 14:00:30 -04:00
2025-04-15 09:16:42 +02:00
2025-04-11 22:44:24 +05:30
2025-04-22 20:23:08 +00:00
2025-04-07 08:24:08 -04:00
2025-04-16 14:05:42 +00:00
2024-07-03 07:36:46 -05:00
2025-04-17 14:00:30 -04:00
2025-04-03 15:59:44 +00:00
2025-01-03 08:50:13 -06:00
2025-04-03 15:59:44 +00:00
2025-04-17 14:00:30 -04:00
2025-02-28 14:55:55 -05:00
2025-04-23 09:26:00 +02:00
2025-04-03 15:59:44 +00:00
2025-04-03 15:59:44 +00:00
2025-04-23 09:27:00 +02:00
2025-04-01 16:58:09 +02:00
2025-04-03 15:59:44 +00:00
2025-04-11 10:21:47 +02:00
2024-10-28 07:53:41 +00:00
2025-02-04 08:41:06 -05:00
2025-04-15 21:26:12 +05:30
2025-04-03 15:59:44 +00:00
2025-04-09 14:23:29 -04:00
2025-01-04 12:23:53 +01:00
2025-02-27 13:25:31 +00:00
2025-02-19 10:50:50 -05:00
2025-04-08 08:33:30 +02:00
2024-12-11 10:30:41 +00:00
2025-01-16 15:18:12 +01:00
2025-04-17 09:20:29 -04:00
2025-04-09 20:38:20 +02:00