[ty] Uniformly use "not supported" in diagnostics (#21916)

This commit is contained in:
Luca Chiodini
2025-12-11 16:03:55 +01:00
committed by GitHub
parent c9155d5e72
commit 5a9d6a91ea
33 changed files with 122 additions and 122 deletions

View File

@@ -123,7 +123,7 @@ def _(flag: bool, flag2: bool):
class NotBoolable:
__bool__: int = 3
# error: [unsupported-bool-conversion] "Boolean conversion is unsupported for type `NotBoolable`"
# error: [unsupported-bool-conversion] "Boolean conversion is not supported for type `NotBoolable`"
while NotBoolable():
...
```