We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05c1f7e commit 479d320Copy full SHA for 479d320
test/test_cli/test_script.py
@@ -27,11 +27,11 @@ def tmp_dir_cleanup():
27
28
# download GitHub Gist dataset into tmp folder
29
GISTS_URL = "https://api.github.com/gists"
30
-gists = requests.get(GISTS_URL).json()
+gists = requests.get(GISTS_URL).text
31
+gists = json.loads(gists)
32
for item in gists:
33
with (tmp_path / f"{item['id']}.gist").open("w") as f:
34
json.dump(item, f)
-del gists
35
36
# detect script path
37
setuptools_script = subprocess.call(["json2models"], shell=True) == 0
0 commit comments