def GetFdLimit():
  import resource
  return resource.getrlimit(resource.RLIMIT_NOFILE)
JsonApiRequest.json_or_error should return a status code and JSON on success
dataset/ETHPy150Open chromium/web-page-replay/platformsettings.py/GetFdLimit--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/custom/dhis2/tests.py/JsonApiRequestTest.test_json_or_error_returns