[red-knot] Format mdtest Python snippets more concisely (#13905)
This commit is contained in:
@@ -62,10 +62,8 @@ bool(1) / False
|
||||
# revealed: float
|
||||
reveal_type(1.0 / 0)
|
||||
|
||||
|
||||
class MyInt(int): ...
|
||||
|
||||
|
||||
# No error for a subclass of int
|
||||
# revealed: float
|
||||
reveal_type(MyInt(3) / 0)
|
||||
|
||||
Reference in New Issue
Block a user