def print_testcase(self, ast): self.require_init() self.indent() self.write('testcase %s:' % ast.label) self.linenumber = testcasedecompiler.pprint( self.out_file, ast.test.block, self.indent_level + 1, self.linenumber, self.skip_indent_until_write, self.printlock) self.skip_indent_until_write = False
def print_testcase(self, ast): self.require_init() self.indent() self.write('testcase %s:' % ast.label) self.linenumber = testcasedecompiler.pprint(self.out_file, ast.test.block, self.indent_level + 1, self.linenumber, self.skip_indent_until_write, self.printlock) self.skip_indent_until_write = False