diff --git a/tests/test-fix.t b/tests/test-fix.t
index 2ad56a9b983b3c3e70cdd4239af27a9d9c31d33e_dGVzdHMvdGVzdC1maXgudA==..0df4d93fdc27e754a66ffba2c4204dd3c395807d_dGVzdHMvdGVzdC1maXgudA== 100644
--- a/tests/test-fix.t
+++ b/tests/test-fix.t
@@ -1,11 +1,6 @@
 A script that implements uppercasing of specific lines in a file. This
 approximates the behavior of code formatters well enough for our tests.
 
-  $ TAC="$TESTTMP/tac.py"
-  $ cat > $TAC <<EOF
-  > import sys
-  > print('\n'.join(sys.stdin.read().splitlines()[::-1]))
-  > EOF
   $ UPPERCASEPY="$TESTTMP/uppercase.py"
   $ cat > $UPPERCASEPY <<EOF
   > import sys
@@ -1122,7 +1117,7 @@
   $ printf "first\nsecond\n" > bar.txt
   $ hg add -q
   $ hg fix -w --config fix.sometool:fileset=bar.txt \
-  >           --config fix.sometool:command="$PYTHON $TAC"
+  >           --config fix.sometool:command="sort -r"
   the fix.tool:fileset config name is deprecated; please rename it to fix.tool:pattern
 
   $ cat foo.whole