fix cairo_test.py [skip ci]

This commit is contained in:
Dane Springmeyer 2015-03-24 20:38:08 -07:00
parent dfddd53c84
commit f2673c6432

View file

@ -19,7 +19,7 @@ def make_tmp_map():
context.push('Name') context.push('Name')
f = mapnik.Feature(context,1) f = mapnik.Feature(context,1)
f['Name'] = 'Hello' f['Name'] = 'Hello'
f.add_geometries_from_wkt('POINT (0 0)') f.geometry = mapnik.Geometry.from_wkt('POINT (0 0)')
ds.add_feature(f) ds.add_feature(f)
s = mapnik.Style() s = mapnik.Style()
r = mapnik.Rule() r = mapnik.Rule()