From 304048696836fdc4e0ecec26c753167219394008 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 9 Mar 2020 12:52:45 -0700 Subject: [PATCH] Use -S when invoking Python for littlecheck This prevents needless imports. It speeds up the test time by ~2 seconds. --- tests/test.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.fish b/tests/test.fish index 61bf3e353..2af916e8d 100644 --- a/tests/test.fish +++ b/tests/test.fish @@ -75,7 +75,7 @@ function test_littlecheck_file set -l file $argv[1] echo -n "Testing file $file ... " set starttime (timestamp) - $python ../littlecheck.py \ + $python -S ../littlecheck.py \ -s fish=../test/root/bin/fish \ -s fish_test_helper=../test/root/bin/fish_test_helper \ $file