summaryrefslogtreecommitdiff
path: root/buildscripts/tests
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2019-04-11 18:10:35 -0400
committerMathew Robinson <chasinglogic@gmail.com>2019-04-19 14:35:41 -0400
commite0d816c3c090d626255aeef39bfd0b2e117b23c0 (patch)
tree1df75f1f54010e01e238ee2dbd706a97d7004fe9 /buildscripts/tests
parent943e0fbfd8bf7223f03189bd8af1d5e423aa387f (diff)
downloadmongo-e0d816c3c090d626255aeef39bfd0b2e117b23c0.tar.gz
SERVER-40602 burn_in_tests should call resmoke with python3
Diffstat (limited to 'buildscripts/tests')
-rw-r--r--buildscripts/tests/test_burn_in_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/tests/test_burn_in_tests.py b/buildscripts/tests/test_burn_in_tests.py
index 95f4322f76f..d67154b0ee6 100644
--- a/buildscripts/tests/test_burn_in_tests.py
+++ b/buildscripts/tests/test_burn_in_tests.py
@@ -4,6 +4,7 @@ from __future__ import absolute_import
import collections
import os
+import sys
import subprocess
import unittest
@@ -424,7 +425,7 @@ class TestSetResmokeArgs(unittest.TestCase):
class TestSetResmokeCmd(unittest.TestCase):
def test__set_resmoke_cmd_no_opts_no_args(self):
with patch(BURN_IN + ".get_resmoke_repeat_options", return_value=""):
- self.assertListEqual(["python", "buildscripts/resmoke.py"],
+ self.assertListEqual([sys.executable, "buildscripts/resmoke.py"],
burn_in._set_resmoke_cmd(None, None))
def test__set_resmoke_cmd_no_opts(self):