diff --git a/src/testdir/test73.in b/src/testdir/test73.in
index 46b111d67c7ed40448e61be0fa43203a572d3774..943807600ff56451e5c15c9749dedd294448db9a 100644
--- a/src/testdir/test73.in
+++ b/src/testdir/test73.in
@@ -6,7 +6,7 @@ STARTTEST
 :" delete the Xfind directory during cleanup
 :"
 :" This will cause a few errors, do it silently.
-:set visualbell
+:set nocp viminfo+=nviminfo visualbell
 :"
 :function! DeleteDirectory(dir)
 : if has("win16") || has("win32") || has("win64")
@@ -18,7 +18,6 @@ STARTTEST
 :" On windows a stale "Xfind" directory may exist, remove it so that
 :" we start from a clean state.
 :call DeleteDirectory("Xfind")
-:set nocp
 :new
 :let cwd=getcwd()
 :!mkdir Xfind