diff options
Diffstat (limited to 'test/units/inventory/test_host.py')
-rw-r--r-- | test/units/inventory/test_host.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/units/inventory/test_host.py b/test/units/inventory/test_host.py index 5d4ddc3b01..34eaaab30a 100644 --- a/test/units/inventory/test_host.py +++ b/test/units/inventory/test_host.py @@ -25,7 +25,6 @@ import unittest from ansible.inventory.group import Group from ansible.inventory.host import Host -from ansible.module_utils.six import string_types class TestHost(unittest.TestCase): @@ -50,7 +49,7 @@ class TestHost(unittest.TestCase): def test_repr(self): host_repr = repr(self.hostA) - self.assertIsInstance(host_repr, string_types) + self.assertIsInstance(host_repr, str) def test_add_group(self): group = Group('some_group') |