diff --git a/test/run b/test/run
index 26e0d1ead5cbae0cd0ddbd841c548a2e1c6dded8..2f5bb3bc5fc1b5fdfdd27cd1ab44684968fa6bc3 100755
--- a/test/run
+++ b/test/run
@@ -192,7 +192,7 @@ testPython3_7() {
 }
 
 testPython3_7_warn() {
-  compile "python3_7"
+  compile "python3_7_warn"
   if [[ $STACK = "cedar-14" ]]; then
     assertCapturedError
   else
@@ -203,7 +203,7 @@ testPython3_7_warn() {
 }
 
 testPython3_7_fail() {
-  compile "python3_7_warn"
+  compile "python3_7_fail"
   assertCaptured "Aborting"
   assertCapturedError
 }