@@ -813,11 +813,11 @@ class Cls:
813
813
attr = 'test'
814
814
unchanged = 'test'
815
815
816
- reveal_type(Cls().attr) # N: Revealed type is ' builtins.str'
817
- reveal_type(Cls.attr) # N: Revealed type is ' builtins.int'
818
- reveal_type(Cls.unchanged) # N: Revealed type is ' builtins.str'
816
+ reveal_type(Cls().attr) # N: Revealed type is " builtins.str"
817
+ reveal_type(Cls.attr) # N: Revealed type is " builtins.int"
818
+ reveal_type(Cls.unchanged) # N: Revealed type is " builtins.str"
819
819
x: Type[Cls]
820
- reveal_type(x.attr) # N: Revealed type is ' builtins.int'
820
+ reveal_type(x.attr) # N: Revealed type is " builtins.int"
821
821
[file mypy.ini]
822
822
\[mypy]
823
823
plugins=<ROOT>/test-data/unit/plugins/class_attr_hook.py
@@ -829,7 +829,7 @@ class Cls:
829
829
def attr(self) -> None:
830
830
pass
831
831
832
- reveal_type(Cls.attr) # N: Revealed type is ' builtins.int'
832
+ reveal_type(Cls.attr) # N: Revealed type is " builtins.int"
833
833
[file mypy.ini]
834
834
\[mypy]
835
835
plugins=<ROOT>/test-data/unit/plugins/class_attr_hook.py
@@ -842,7 +842,7 @@ import enum
842
842
class Cls(enum.Enum):
843
843
attr = 'test'
844
844
845
- reveal_type(Cls.attr) # N: Revealed type is ' builtins.int'
845
+ reveal_type(Cls.attr) # N: Revealed type is " builtins.int"
846
846
[file mypy.ini]
847
847
\[mypy]
848
848
plugins=<ROOT>/test-data/unit/plugins/class_attr_hook.py
@@ -858,7 +858,7 @@ B: Any
858
858
class Cls(B, metaclass=M):
859
859
pass
860
860
861
- reveal_type(Cls.attr) # N: Revealed type is ' builtins.int'
861
+ reveal_type(Cls.attr) # N: Revealed type is " builtins.int"
862
862
[file mypy.ini]
863
863
\[mypy]
864
864
plugins=<ROOT>/test-data/unit/plugins/class_attr_hook.py
0 commit comments