Browse files

Un-gzipped test geometries fixture as plain json

This is easier to track changes through the VCS.
  • Loading branch information...
1 parent 117e995 commit 8a2216648fcc1c6e504902e612b046c213de46d7 @claudep claudep committed Oct 6, 2012
@@ -2,7 +2,6 @@
This module has the mock object definitions used to hold reference geometry
for the GEOS and GDAL tests.
-import gzip
import json
import os
@@ -100,7 +99,7 @@ def geometries(self):
if GEOMETRIES is None:
# Load up the test geometry data from fixture into global.
- gzf = gzip.GzipFile(os.path.join(TEST_DATA, 'geometries.json.gz'))
- geometries = json.loads(
+ with open(os.path.join(TEST_DATA, 'geometries.json')) as f:
+ geometries = json.load(f)
GEOMETRIES = TestGeomSet(**strconvert(geometries))
Oops, something went wrong.

0 comments on commit 8a22166

Please sign in to comment.