@@ -35,9 +35,9 @@ def set_foo(some_class_instance): # $ tracked=foo
35
35
some_class_instance .foo = tracked # $ tracked=foo tracked
36
36
37
37
def test_set_x ():
38
- x = SomeClass ()
39
- set_foo (x )
40
- print (x .foo ) # MISSING: tracked
38
+ x = SomeClass () # $ MISSING: tracked=foo
39
+ set_foo (x ) # $ MISSING: tracked=foo
40
+ print (x .foo ) # $ MISSING: tracked=foo tracked
41
41
42
42
# ------------------------------------------------------------------------------
43
43
# Attributes assigned statically to a class
@@ -125,8 +125,8 @@ def __init__(self): # $ tracked=foo
125
125
def print_foo (self ): # $ MISSING: tracked=foo
126
126
print (self .foo ) # $ MISSING: tracked=foo tracked
127
127
128
- def possibly_uncalled_method (self ):
129
- print (self .foo ) # $ MISSING: tracked
128
+ def possibly_uncalled_method (self ): # $ MISSING: tracked=foo
129
+ print (self .foo ) # $ MISSING: tracked=foo tracked
130
130
131
131
instance = MyClass2 ()
132
132
print (instance .foo ) # $ MISSING: tracked=foo tracked
@@ -142,8 +142,8 @@ def print_self(self): # $ tracked=foo
142
142
def print_foo (self ): # $ tracked=foo
143
143
print (self .foo ) # $ tracked=foo tracked
144
144
145
- def possibly_uncalled_method (self ):
146
- print (self .foo ) # $ MISSING: tracked
145
+ def possibly_uncalled_method (self ): # $ MISSING: tracked=foo
146
+ print (self .foo ) # $ MISSING: tracked=foo tracked
147
147
148
148
instance = MyClass3 () # $ tracked=foo
149
149
instance .print_self () # $ tracked=foo
0 commit comments