# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1284470745 -7200 # Node ID e9306b23d32343e8063426da6db6b81573ee7329 # Parent c11bf0dd38d3030e12847ea26830d358ed268027 testrunner: don't use os.putenv(), as it may not affect os.environ. diff --git a/tests/run.py b/tests/run.py --- a/tests/run.py +++ b/tests/run.py @@ -78,7 +78,7 @@ if __name__ == '__main__': demandimport.enable() if options.bindings: - os.putenv('HGSUBVERSION_BINDINGS', options.bindings) + os.environ['HGSUBVERSION_BINDINGS'] = options.bindings # make sure our copy of hgsubversion gets imported by loading test_util import test_util