File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -861,12 +861,12 @@ async def test_rename_nonexistent(jp_contents_manager):
861
861
# Test with non-existent file
862
862
with pytest .raises (HTTPError ) as e :
863
863
await ensure_async (cm .rename ("nonexistent_file.txt" , "new_name.txt" ))
864
- assert expected_http_error (e , 404 , expected_message = "File or directory does not exist: nonexistent_file.txt" )
864
+ assert expected_http_error (e , 404 )
865
865
866
866
# Test with non-existent directory
867
867
with pytest .raises (HTTPError ) as e :
868
868
await ensure_async (cm .rename ("nonexistent_dir" , "new_dir" ))
869
- assert expected_http_error (e , 404 , expected_message = "File or directory does not exist: nonexistent_dir" )
869
+ assert expected_http_error (e , 404 )
870
870
871
871
872
872
async def test_delete_root (jp_contents_manager ):
You can’t perform that action at this time.
0 commit comments