# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1429041253 14400
#      Tue Apr 14 15:54:13 2015 -0400
# Node ID 570141fa38f93f94800653cecf51bdd998ee777f
# Parent  61fc2cdbc57c7ef651f6161e63f584a9dde17dca
run-tests: introduce a name for os.environb

On python 2 this is just os.environ, but on python 3 we need to get to
os.environb in several places.

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -66,6 +66,8 @@
 from xml.dom import minidom
 import unittest
 
+osenvironb = getattr(os, 'environb', os.environ)
+
 try:
     import json
 except ImportError: