diff --git a/tests/python_tests/object_test.py b/tests/python_tests/object_test.py index 922c8e5e8..cc48df60e 100644 --- a/tests/python_tests/object_test.py +++ b/tests/python_tests/object_test.py @@ -133,7 +133,6 @@ def test_shield_symbolizer_init(): eq_(s.face_name, 'DejaVu Sans Bold') eq_(s.allow_overlap, False) eq_(s.fill, mapnik.Color('#000000')) - eq_(s.force_odd_labels, False) eq_(s.halo_fill, mapnik.Color('rgb(255,255,255)')) eq_(s.halo_radius, 0) eq_(s.label_placement, mapnik.label_placement.POINT_PLACEMENT) diff --git a/tests/python_tests/postgis_test.py b/tests/python_tests/postgis_test.py index d90bcb714..2e3a10782 100644 --- a/tests/python_tests/postgis_test.py +++ b/tests/python_tests/postgis_test.py @@ -278,7 +278,7 @@ if 'postgis' in mapnik.DatasourceCache.plugin_names() \ except StopIteration: pass eq_(feature,None) - eq_(ds.describe()['geometry_type'],mapnik.DataGeometryType.Collection) + eq_(ds.describe()['geometry_type'],None) def test_geometry_detection(): ds = mapnik.PostGIS(dbname=MAPNIK_TEST_DBNAME,table='test',