+ fix unicode test issue

This commit is contained in:
Artem Pavlenko 2011-09-13 13:41:36 +00:00
parent 9d6d842879
commit 7eeaf63356

View file

@ -116,7 +116,7 @@ def test_unicode_regex_replace():
f = mapnik2.Feature(0)
f["name"] = 'Québec'
expr = mapnik2.Expression("[name].replace('(\B)|( )','$1 ')")
eq_(expr.evaluate(f),'Q u é b e c')
eq_(expr.evaluate(f), u'Q u é b e c')
if __name__ == "__main__":
[eval(run)() for run in dir() if 'test_' in run]