Example #1
0
 def get_content(self):
     return regenerate(code_of(self))
Example #2
0
 def test_handles_inputs_without_newline(self):
     tree = parse("42 # answer")
     assert_equal("42 # answer", regenerate(tree))
Example #3
0
 def visit_main_snippet(self, body):
     method(regenerate(body))
     method_called[0] = True
Example #4
0
 def get_content(self):
     return regenerate(code_of(self))