changeset 697:e9306b23d323

testrunner: don't use os.putenv(), as it may not affect os.environ.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Tue, 14 Sep 2010 15:25:45 +0200
parents c11bf0dd38d3
children 59860a15b617
files tests/run.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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