Mercurial > bitten > bitten-test
changeset 470:dad562913fde
fix test failure when not running under the default Python version
author | mgood |
---|---|
date | Tue, 27 Nov 2007 21:50:26 +0000 |
parents | beaf9e53424e |
children | b15e6eec8422 |
files | bitten/build/tests/api.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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):