From 49908b5e3b8aaabd44e468903578db8aa1a4e312 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 5 Jan 2015 11:46:29 -0800 Subject: [PATCH] json_feature_properties_test: print test name for failures --- tests/python_tests/json_feature_properties_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python_tests/json_feature_properties_test.py b/tests/python_tests/json_feature_properties_test.py index 25c6a8c41..82e909e5b 100644 --- a/tests/python_tests/json_feature_properties_test.py +++ b/tests/python_tests/json_feature_properties_test.py @@ -94,7 +94,7 @@ def test_char_escaping(): # confirm our behavior is the same as python json module # for the original string geojson_feat_string = feat.to_geojson() - eq_(geojson_feat_string,char['json'],"Mapnik's json escaping is not to spec: actual(%s) and expected(%s)" % (geojson_feat_string,char['json'])) + eq_(geojson_feat_string,char['json'],"Mapnik's json escaping is not to spec: actual(%s) and expected(%s) for %s" % (geojson_feat_string,char['json'],char['name'])) # and the round tripped string pyjson = json.loads(geojson_feat_string) eq_(pyjson['properties']['name'],expected)