diff options
author | Aaron Bentley <aaron.bentley@utoronto.ca> | 2006-04-01 14:14:55 -0500 |
---|---|---|
committer | Aaron Bentley <aaron.bentley@utoronto.ca> | 2006-04-01 14:14:55 -0500 |
commit | 28da7287b32e070034b8c093938effeedb2eb54e (patch) | |
tree | 73ef5dd00ed463e5a3b7a8fcba92305712445567 /libbe/mapfile.py | |
parent | 9e774f72d807c509ed0fbb47bbd07a6fe5ea7464 (diff) | |
download | bugseverywhere-28da7287b32e070034b8c093938effeedb2eb54e.tar.gz |
Fixed test suite for the unicode switch
Diffstat (limited to 'libbe/mapfile.py')
-rw-r--r-- | libbe/mapfile.py | 10 |
1 files changed, 5 insertions, 5 deletions
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 = {} |