From 4f8a191a69f3404a8b85a5b6c73a488421fb1654 Mon Sep 17 00:00:00 2001 From: "Daniel A. Wozniak" Date: Wed, 1 Aug 2018 14:28:57 -0700 Subject: [PATCH] Remove unicode key pairs from environ after test --- tests/integration/modules/test_pip.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/modules/test_pip.py b/tests/integration/modules/test_pip.py index ff29f0e7c9..39e6265797 100644 --- a/tests/integration/modules/test_pip.py +++ b/tests/integration/modules/test_pip.py @@ -42,6 +42,10 @@ class PipModuleTest(ModuleCase): os.makedirs(self.pip_temp) os.environ['PIP_SOURCE_DIR'] = os.environ['PIP_BUILD_DIR'] = '' + def tearDown(self): + if 'PIP_SOURCE_DIR' in os.environ: + os.environ.pop('PIP_SOURCE_DIR') + def _check_download_error(self, ret): ''' Checks to see if a download error looks transitory