test: replaced use of python with $NOTMUCH_PYTHON (twice)
[notmuch] / test / test-lib.sh
index 67be917eb94299c609773ab31a2d798c5b172daa..bb32e97b2af747b35a2db1d82b44d6cc8333d244 100644 (file)
@@ -667,7 +667,7 @@ test_expect_equal_json () {
 
 # Sort the top-level list of JSON data from stdin.
 test_sort_json () {
-    PYTHONIOENCODING=utf-8 python -c \
+    PYTHONIOENCODING=utf-8 $NOTMUCH_PYTHON -c \
         "import sys, json; json.dump(sorted(json.load(sys.stdin)),sys.stdout)"
 }