diff --git a/tests/python_tests/filter_test.py b/tests/python_tests/filter_test.py index 7a547e136..c6c2ca46b 100644 --- a/tests/python_tests/filter_test.py +++ b/tests/python_tests/filter_test.py @@ -5,6 +5,9 @@ from utilities import Todo import mapnik +if hasattr(mapnik,'Expression'): + mapnik.Filter = mapnik.Expression + map_ = '''