From 28da7287b32e070034b8c093938effeedb2eb54e Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Sat, 1 Apr 2006 14:14:55 -0500 Subject: Fixed test suite for the unicode switch --- libbe/mapfile.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libbe') diff --git a/libbe/mapfile.py b/libbe/mapfile.py index bbbd860..6a304fd 100644 --- a/libbe/mapfile.py +++ b/libbe/mapfile.py @@ -75,18 +75,18 @@ def parse(f): """ Parse a format-2 mapfile. >>> parse('\\n\\n\\nq=p\\n\\n\\n\\n')['q'] - 'p' + u'p' >>> parse('\\n\\nq=\\'p\\'\\n\\n\\n\\n')['q'] - "\'p\'" + u"\'p\'" >>> f = utility.FileString() >>> generate(f, {"a":"b", "c":"d", "e":"f"}) >>> dict = parse(f) >>> dict["a"] - 'b' + u'b' >>> dict["c"] - 'd' + u'd' >>> dict["e"] - 'f' + u'f' """ f = utility.get_file(f) result = {} -- cgit