@@ -740,11 +740,11 @@ class Cls:
740
740
attr = 'test'
741
741
unchanged = 'test'
742
742
743
- reveal_type(Cls().attr) # N: Revealed type is ' builtins.str'
744
- reveal_type(Cls.attr) # N: Revealed type is ' builtins.int'
745
- reveal_type(Cls.unchanged) # N: Revealed type is ' builtins.str'
743
+ reveal_type(Cls().attr) # N: Revealed type is " builtins.str"
744
+ reveal_type(Cls.attr) # N: Revealed type is " builtins.int"
745
+ reveal_type(Cls.unchanged) # N: Revealed type is " builtins.str"
746
746
x: Type[Cls]
747
- reveal_type(x.attr) # N: Revealed type is ' builtins.int'
747
+ reveal_type(x.attr) # N: Revealed type is " builtins.int"
748
748
[file mypy.ini]
749
749
\[mypy]
750
750
plugins=<ROOT>/test-data/unit/plugins/class_attr_hook.py
@@ -756,7 +756,7 @@ class Cls:
756
756
def attr(self) -> None:
757
757
pass
758
758
759
- reveal_type(Cls.attr) # N: Revealed type is ' builtins.int'
759
+ reveal_type(Cls.attr) # N: Revealed type is " builtins.int"
760
760
[file mypy.ini]
761
761
\[mypy]
762
762
plugins=<ROOT>/test-data/unit/plugins/class_attr_hook.py
@@ -769,7 +769,7 @@ import enum
769
769
class Cls(enum.Enum):
770
770
attr = 'test'
771
771
772
- reveal_type(Cls.attr) # N: Revealed type is ' builtins.int'
772
+ reveal_type(Cls.attr) # N: Revealed type is " builtins.int"
773
773
[file mypy.ini]
774
774
\[mypy]
775
775
plugins=<ROOT>/test-data/unit/plugins/class_attr_hook.py
@@ -785,7 +785,7 @@ B: Any
785
785
class Cls(B, metaclass=M):
786
786
pass
787
787
788
- reveal_type(Cls.attr) # N: Revealed type is ' builtins.int'
788
+ reveal_type(Cls.attr) # N: Revealed type is " builtins.int"
789
789
[file mypy.ini]
790
790
\[mypy]
791
791
plugins=<ROOT>/test-data/unit/plugins/class_attr_hook.py
0 commit comments