json.load[s] shouldn't return any results. fixed by overwriting the method

This commit is contained in:
Dave Halter
2014-06-27 11:56:40 +02:00
parent cf1fd691da
commit 7d73e571bb
2 changed files with 17 additions and 4 deletions

View File

@@ -133,10 +133,19 @@ hashlib.md5
# -----------------
import copy
a = copy.deepcopy(1)
#? int()
a
copy.deepcopy(1)
a = copy.copy()
#?
a
copy.copy()
# -----------------
# json
# -----------------
# We don't want any results for json, because it depends on IO.
import json
#?
json.load('asdf')
#?
json.loads('[1]')