From dc00f36e3ea1f36c66ef82f22292d2e428c3b784 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Tue, 9 Jan 2018 16:41:19 +0000 Subject: [PATCH] Do not hard-code Python 3. --- tests/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/__main__.py b/tests/__main__.py index 8df0e6f4..214121d1 100644 --- a/tests/__main__.py +++ b/tests/__main__.py @@ -8,8 +8,8 @@ import sys TEST_ROOT = os.path.dirname(__file__) PROJECT_ROOT = os.path.dirname(TEST_ROOT) -executable = 'python3 -m unittest' +executable = sys.executable + ' -m unittest' if all(arg.startswith('-') for arg in sys.argv[1:]): argv = [executable, 'discover',