def fake_loads_json_error(content, *args, **kwargs):
 raise json.JSONDecodeError('Using simplejson & you gave me bad JSON.', '', 0)

def fake_loads_json_error ( content , * args , ** kwargs ) : raise json . JSONDecodeError ( 'Using simplejson & you gave me bad JSON.' , '' , 0 )
callable to generate a fake jsondecodeerror .