from test_utils import * def test_assign(): @Commentor("") def target(): myint = 7 print(myint) asserteq_or_print( target(), ''' def target(): myint = 7 print(myint) """ : print 7 : myint None : print(myint) """ ''')