diff options
author | Stephen Finucane <sfinucan@redhat.com> | 2019-10-08 15:58:38 +0100 |
---|---|---|
committer | Stephen Finucane <sfinucan@redhat.com> | 2020-02-12 09:56:55 +0000 |
commit | 20a7cee3e3019d60c4b367bb76922a1db41d1750 (patch) | |
tree | 7ff8737f8bb79afff7adb8a54b04438e7b1b27e4 /oslo_config/tests/test_types.py | |
parent | d5142cdf074d99977646d917fa7c735aa6621178 (diff) | |
download | oslo-config-20a7cee3e3019d60c4b367bb76922a1db41d1750.tar.gz |
Remove six
We don't need this in a Python 3-only world. We can't remove mock yet
since there's an issue with the stdlib variant in python3.6, but that is
called out.
Change-Id: I9657b1fd4409be90d645175a6e177d7e1d2ebac2
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'oslo_config/tests/test_types.py')
-rw-r--r-- | oslo_config/tests/test_types.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/oslo_config/tests/test_types.py b/oslo_config/tests/test_types.py index e4f4779..644a239 100644 --- a/oslo_config/tests/test_types.py +++ b/oslo_config/tests/test_types.py @@ -16,7 +16,6 @@ import re import unittest from oslo_config import types -from six.moves import range as compat_range class ConfigTypeTests(unittest.TestCase): @@ -601,7 +600,7 @@ class RangeTypeTests(TypeTestHelper, unittest.TestCase): type = types.Range() def assertRange(self, s, r1, r2, step=1): - self.assertEqual(list(compat_range(r1, r2, step)), + self.assertEqual(list(range(r1, r2, step)), list(self.type_instance(s))) def test_range(self): |