예제 #1
0
파일: __init__.py 프로젝트: galaxysd/unrpyc
 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
예제 #2
0
 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