Skip to content

Commit b82d102

Browse files
authored
Fix lint (#867)
1 parent 595ce61 commit b82d102

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/services/contents/test_api.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,12 @@ async def test_get_404_hidden(jp_fetch, contents, contents_dir):
236236
# Create text files
237237
hidden_dir = contents_dir / ".hidden"
238238
hidden_dir.mkdir(parents=True, exist_ok=True)
239-
txt = f"visible text file in hidden dir"
240-
txtname = hidden_dir.joinpath(f"visible.txt")
239+
txt = "visible text file in hidden dir"
240+
txtname = hidden_dir.joinpath("visible.txt")
241241
txtname.write_text(txt, encoding="utf-8")
242242

243-
txt2 = f"hidden text file"
244-
txtname2 = contents_dir.joinpath(f".hidden.txt")
243+
txt2 = "hidden text file"
244+
txtname2 = contents_dir.joinpath(".hidden.txt")
245245
txtname2.write_text(txt2, encoding="utf-8")
246246

247247
with pytest.raises(tornado.httpclient.HTTPClientError) as e:
@@ -641,8 +641,8 @@ async def test_copy_400_hidden(
641641
# Create text files
642642
hidden_dir = contents_dir / ".hidden"
643643
hidden_dir.mkdir(parents=True, exist_ok=True)
644-
txt = f"visible text file in hidden dir"
645-
txtname = hidden_dir.joinpath(f"new.txt")
644+
txt = "visible text file in hidden dir"
645+
txtname = hidden_dir.joinpath("new.txt")
646646
txtname.write_text(txt, encoding="utf-8")
647647

648648
paths = ["new.txt", ".hidden.txt"]

0 commit comments

Comments
 (0)