[red-knot] Format mdtest Python snippets more concisely (#13905)

This commit is contained in:
Alex Waygood
2024-10-24 12:09:31 +01:00
committed by GitHub
parent 77ae0ccf0f
commit 3eb454699a
33 changed files with 4 additions and 193 deletions

View File

@@ -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)