Lines Matching full:check_roundtrip
592 def check_roundtrip(self, f):
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"
655 self.check_roundtrip("a = (3,4, \n"
668 self.check_roundtrip("x=1+\\\n"
672 self.check_roundtrip("# Comment \\\n"
677 self.check_roundtrip("'' ''")
694 self.check_roundtrip(f)