Skip to content

执行run_tests报错,请问怎么解决? #3

Description

@dickyxiao

报错内容:
“””
Traceback (most recent call last):
File "F:\Python脚本\pyrequest\interface\add_event_test.py", line 24, in test_add_event_all_null
self.result = r.json()
File "D:\python\lib\site-packages\requests\models.py", line 866, in json
return complexjson.loads(self.text, **kwargs)
File "D:\python\lib\json_init_.py", line 354, in loads
return _default_decoder.decode(s)
File "D:\python\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "D:\python\lib\json\decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
“””
可能是json解析问题?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions