Skip to content

Commit c2f6bb7

Browse files
committed
Looking for direct json import, falling back to simplejson
1 parent bd13185 commit c2f6bb7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_feature.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import sys, java, unittest
2-
import simplejson as json
32
import xpath
43
from xml.dom import minidom as dom
54
from geoscript import geom, proj, feature
5+
try:
6+
import json
7+
except ImportError:
8+
import simplejson as json
69

710
class Feature_Test:
811

0 commit comments

Comments
 (0)