diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2022-02-17 11:37:13 +0000 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2022-03-21 18:31:10 +0000 |
commit | fa137a5bf1f2a86cc15ebc4d973f245e1543105d (patch) | |
tree | 1aa5f0d23479ead227f319d2751df2372215a6ce /test/functional/test_swiftclient.py | |
parent | 4983b909831b72b5361aadf573cadd3afaaf8976 (diff) | |
download | python-swiftclient-fa137a5bf1f2a86cc15ebc4d973f245e1543105d.tar.gz |
Remove six
This mostly affects tests. Nothing too complicated
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: Iabc78f651e1d48db35638280722f8019798eccd6
Diffstat (limited to 'test/functional/test_swiftclient.py')
-rw-r--r-- | test/functional/test_swiftclient.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/functional/test_swiftclient.py b/test/functional/test_swiftclient.py index 8d001d0..5fc8df7 100644 --- a/test/functional/test_swiftclient.py +++ b/test/functional/test_swiftclient.py @@ -17,8 +17,6 @@ import unittest import time from io import BytesIO -import six - import swiftclient from . import TEST_CONFIG @@ -417,12 +415,6 @@ class TestFunctional(unittest.TestCase): # https://bugs.python.org/issue37093 # We'll have to settle for just testing that the POST doesn't blow up # with a UnicodeDecodeError - if six.PY2: - headers = self.conn.head_object( - self.containername, self.objectname) - self.assertIn(u'x-object-meta-\U0001f44d', headers) - self.assertEqual(u'\U0001f44d', - headers.get(u'x-object-meta-\U0001f44d')) def test_copy_object(self): self.conn.put_object( |