@@ -236,12 +236,12 @@ async def test_get_404_hidden(jp_fetch, contents, contents_dir):
236
236
# Create text files
237
237
hidden_dir = contents_dir / ".hidden"
238
238
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" )
241
241
txtname .write_text (txt , encoding = "utf-8" )
242
242
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" )
245
245
txtname2 .write_text (txt2 , encoding = "utf-8" )
246
246
247
247
with pytest .raises (tornado .httpclient .HTTPClientError ) as e :
@@ -641,8 +641,8 @@ async def test_copy_400_hidden(
641
641
# Create text files
642
642
hidden_dir = contents_dir / ".hidden"
643
643
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" )
646
646
txtname .write_text (txt , encoding = "utf-8" )
647
647
648
648
paths = ["new.txt" , ".hidden.txt" ]
0 commit comments