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 00f5be4 commit 4490140Copy full SHA for 4490140
tests/test_json.py
@@ -1521,8 +1521,8 @@ def test_set_path(client):
1521
1522
root = tempfile.mkdtemp()
1523
sub = tempfile.mkdtemp(dir=root)
1524
- jsonfile = tempfile.mktemp(suffix=".json", dir=sub)
1525
- nojsonfile = tempfile.mktemp(dir=root)
+ jsonfile = tempfile.mkstemp(suffix=".json", dir=sub)
+ nojsonfile = tempfile.mkstemp(dir=root)
1526
1527
with open(jsonfile, "w+") as fp:
1528
fp.write(json.dumps({"hello": "world"}))
0 commit comments