# HG changeset patch # User mgood # Date 1196200226 0 # Node ID dad562913fde28e38f27c0e5e0771da3b7808716 # Parent beaf9e53424e017f4f2494bb91c5c876f560223a fix test failure when not running under the default Python version diff --git a/bitten/build/tests/api.py b/bitten/build/tests/api.py --- a/bitten/build/tests/api.py +++ b/bitten/build/tests/api.py @@ -62,7 +62,7 @@ self.assertEqual([('foo', 'baz'), ('bar', None)], combined) def test_single_argument(self): - cmdline = CommandLine('python', ['-V']) + cmdline = CommandLine(sys.executable, ['-V']) stdout = [] stderr = [] for out, err in cmdline.execute(timeout=5.0):