HomeSort by relevance Sort by last modified time
    Searched full:check_roundtrip (Results 1 - 3 of 3) sorted by null

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/parser/
test_unparse.py 82 def check_roundtrip(self, code1, filename="internal"): member in class:ASTTestCase
94 self.check_roundtrip("del x, y, z")
97 self.check_roundtrip("45 << 2")
98 self.check_roundtrip("13 >> 7")
101 self.check_roundtrip(for_else)
104 self.check_roundtrip(while_else)
107 self.check_roundtrip("(-1)**7")
108 self.check_roundtrip("(-1.)**8")
109 self.check_roundtrip("(-1j)**6")
110 self.check_roundtrip("not True or False")
    [all...]
  /external/python/cpython2/Demo/parser/
test_unparse.py 82 def check_roundtrip(self, code1, filename="internal"): member in class:ASTTestCase
94 self.check_roundtrip("del x, y, z")
97 self.check_roundtrip("45 << 2")
98 self.check_roundtrip("13 >> 7")
101 self.check_roundtrip(for_else)
104 self.check_roundtrip(while_else)
107 self.check_roundtrip("(-1)**7")
108 self.check_roundtrip("(-1.)**8")
109 self.check_roundtrip("(-1j)**6")
110 self.check_roundtrip("not True or False"
    [all...]
  /external/python/cpython2/Lib/test/
test_tokenize.py 592 def check_roundtrip(self, f): member in class:TestRoundtrip
611 self.check_roundtrip("if x == 1:\n"
616 self.check_roundtrip("if x == 1:\n"
618 self.check_roundtrip("# This is a comment\n"
626 self.check_roundtrip("if x == 1 : \n"
630 self.check_roundtrip(f)
631 self.check_roundtrip("if x == 1:\n"
636 self.check_roundtrip("if (x # The comments need to go in the right place\n"
639 self.check_roundtrip("class Test: # A comment here\n"
648 self.check_roundtrip("try: import somemodule\n
    [all...]

Completed in 178 milliseconds