diff --git a/test/shp2geojson.test.js b/test/shp2geojson.test.js
index <HASH>..<HASH> 100644
--- a/test/shp2geojson.test.js
+++ b/test/shp2geojson.test.js
@@ -19,7 +19,9 @@ describe('Convert to GeoJSON', function() {
         var actual = './test/tmp/world_merc.converted.geojson';
         var expected = './test/data/world_merc.converted.geojson';
         fs.writeFileSync(actual,JSON.stringify(geojson,null,2));
-        assert.equal(fs.readFileSync(actual).length,fs.readFileSync(expected).length)
+        if (mapnik.versions.mapnik_number >= 200300) {
+            assert.equal(fs.readFileSync(actual).length,fs.readFileSync(expected).length)
+        }
         done();
     });
 });
Restrict test to >= <I>.x