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):
861861 # Test with non-existent file
862862 with pytest .raises (HTTPError ) as e :
863863 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 )
865865
866866 # Test with non-existent directory
867867 with pytest .raises (HTTPError ) as e :
868868 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 )
870870
871871
872872async def test_delete_root (jp_contents_manager ):
You can’t perform that action at this time.
0 commit comments