From c8a4c18ace0e51a28ecc8d3d6b874b367aac0a44 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 12 Aug 2011 20:12:11 +0000 Subject: [PATCH] fix expressions tests --- tests/python_tests/filter_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/python_tests/filter_test.py b/tests/python_tests/filter_test.py index 0a060d3c7..02b532179 100644 --- a/tests/python_tests/filter_test.py +++ b/tests/python_tests/filter_test.py @@ -98,13 +98,13 @@ def test_regex_match(): f = mapnik2.Feature(0) f["name"] = 'test' expr = mapnik2.Expression("[name].match('test')") - eq_(expr.evaluate(f),'1') # 1 == True + eq_(expr.evaluate(f),True) # 1 == True def test_unicode_regex_match(): f = mapnik2.Feature(0) f["name"] = 'Québec' expr = mapnik2.Expression("[name].match('Québec')") - eq_(expr.evaluate(f),'1') # 1 == True + eq_(expr.evaluate(f),True) # 1 == True def test_regex_replace(): f = mapnik2.Feature(0)