diff tests/run.py @ 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 073132fc27f1
children 69c0e7c4faf9
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