diff --git a/tests/checks/sphinx-html.fish b/tests/checks/sphinx-html.fish
index ef725cfab..97583a6be 100644
--- a/tests/checks/sphinx-html.fish
+++ b/tests/checks/sphinx-html.fish
@@ -1,4 +1,4 @@
-#RUN: fish_indent=%fish_indent fish=%fish %fish %s
+#RUN: fish_indent=%fish_indent %fish %s
#REQUIRES: command -v sphinx-build
set -l build_script (status dirname)/../test_functions/sphinx-shared.sh
diff --git a/tests/checks/sphinx-man.fish b/tests/checks/sphinx-man.fish
index 932d9ebcb..d39c46081 100644
--- a/tests/checks/sphinx-man.fish
+++ b/tests/checks/sphinx-man.fish
@@ -1,7 +1,5 @@
-#RUN: fish_indent=%fish_indent fish=%fish %fish %s
+#RUN: %fish %s
#REQUIRES: command -v sphinx-build
set -l build_script (status dirname)/../test_functions/sphinx-shared.sh
-# sphinx-build needs fish_indent in $PATH
-set -lxp PATH (path dirname $fish_indent)
$build_script man