File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2049,7 +2049,7 @@ def _named_type(name: str) -> mypy.types.Instance:
20492049 return mypy .types .TupleType (items , fallback )
20502050
20512051 fallback = mypy .types .Instance (type_info , [anytype () for _ in type_info .type_vars ])
2052- if fallback .type .get (' __class__' ):
2052+ if fallback .type .get (" __class__" ):
20532053 # Since `__class__` is redefined for an instances, we can't trust
20542054 # its runtime checks, it can be dynamic. See #20919
20552055 return fallback
Original file line number Diff line number Diff line change @@ -1589,7 +1589,7 @@ def __bool__(self):
15891589 self._setup()
15901590 return bool(self._wrapped)
15911591 """ ,
1592- error = ' test_module.LazyObject.__class__' ,
1592+ error = " test_module.LazyObject.__class__" ,
15931593 )
15941594 yield Case (
15951595 stub = """
@@ -1603,7 +1603,7 @@ def default_value():
16031603
16041604 DEFAULT_VALUE = LazyObject(default_value)
16051605 """ ,
1606- error = ' test_module.DEFAULT_VALUE' ,
1606+ error = " test_module.DEFAULT_VALUE" ,
16071607 )
16081608
16091609 @collect_cases
You can’t perform that action at this time.
0 commit comments