Skip to content

Commit abfca04

Browse files
committed
Remove faux json parser
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%401150
1 parent 6437ca6 commit abfca04

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

tests/support.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,7 @@
1616
#RELEASE add
1717
#test_dir = './testdata'
1818
#END RELEASE
19-
20-
try:
21-
import simplejson
22-
except:
23-
import re
24-
class simplejson:
25-
def load(f):
26-
true, false, null = True, False, None
27-
input = re.sub(r'(".*?(?<!\\)")',r'u\1',f.read().decode('utf-8'))
28-
return eval(input.replace('\r',''))
29-
load = staticmethod(load)
19+
import simplejson
3020

3121
#Build a dict of avaliable trees
3222
treeTypes = {"simpletree":treebuilders.getTreeBuilder("simpletree"),

0 commit comments

Comments
 (0)