Replace backticks with repr() or "%r"

From SF patch #852334.
This commit is contained in:
Walter Dörwald 2004-02-12 17:35:32 +00:00
parent ecfeb7f095
commit 70a6b49821
246 changed files with 926 additions and 962 deletions

View file

@ -47,10 +47,10 @@ if __name__ == "__main__":
print "not ok: no conflict between -h and -H"
parser.add_option("-f", "--file", dest="file")
#print `parser.get_option("-f")`
#print `parser.get_option("-F")`
#print `parser.get_option("--file")`
#print `parser.get_option("--fIlE")`
#print repr(parser.get_option("-f"))
#print repr(parser.get_option("-F"))
#print repr(parser.get_option("--file"))
#print repr(parser.get_option("--fIlE"))
(options, args) = parser.parse_args(["--FiLe", "foo"])
assert options.file == "foo", options.file
print "ok: case insensitive long options work"