diff options
author | 2021-06-03 06:16:49 +0000 | |
---|---|---|
committer | 2021-06-03 06:16:49 +0000 | |
commit | ec6921039af3b016eecc6e609f2554aea0f81e2c (patch) | |
tree | 4d2df62475e73a563e572180a13dec3b5e1b994e /xtesting/tests/unit/utils/test_env.py | |
parent | 454bef238020d8ac0e986807f34dfc140362b629 (diff) | |
parent | a656fd764b0a608caaf198bfa9685a09a7eaca16 (diff) |
Merge "Drop six"
Diffstat (limited to 'xtesting/tests/unit/utils/test_env.py')
-rw-r--r-- | xtesting/tests/unit/utils/test_env.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xtesting/tests/unit/utils/test_env.py b/xtesting/tests/unit/utils/test_env.py index 08601fa5..83b1a19d 100644 --- a/xtesting/tests/unit/utils/test_env.py +++ b/xtesting/tests/unit/utils/test_env.py @@ -12,8 +12,7 @@ import logging import os import unittest - -from six.moves import reload_module +import importlib from xtesting.utils import env @@ -32,7 +31,7 @@ class EnvTesting(unittest.TestCase): def test_get_unknown_env(self): self.assertEqual(env.get('FOO'), 'foo') - reload_module(env) + importlib.reload(env) def test_get_unset_env(self): del os.environ['CI_LOOP'] |