--- a/tests/test-run-tests.py Mon Jan 06 03:36:01 2025 +0100
+++ b/tests/test-run-tests.py Mon Dec 30 22:10:02 2024 +0100
@@ -7,6 +7,7 @@
import doctest
import os
import re
+import sys
# this is hack to make sure no escape characters are inserted into the output
if 'TERM' in os.environ:
@@ -43,7 +44,9 @@
assert not re.search(
br'[^ \w\\/\r\n()*?]', expected + output
), b'single backslash or unknown char'
- test = run_tests.TTest(b'test-run-test.t', b'.', b'.')
+ test = run_tests.TTest(
+ b'test-run-test.t', b'.', b'.', python=sys.executable
+ )
match, exact = test.linematch(expected, output)
if isinstance(match, str):
return 'special: ' + match