diff options
author | likui <likui@yovole.com> | 2020-09-03 16:05:38 +0800 |
---|---|---|
committer | likui <likui@yovole.com> | 2020-09-03 18:30:24 +0800 |
commit | 5bf159de3673ec81e7beaebe4b2fd474bf34616b (patch) | |
tree | 0dd8f53a4613e34491a75809184e4e08c676d1ef /trove/tests/unittests/api/common | |
parent | efc9bae2b9d6db4d9278293589d624f8b6244f80 (diff) | |
download | trove-5bf159de3673ec81e7beaebe4b2fd474bf34616b.tar.gz |
Remove six.PY3
The Python 2.7 Support has been dropped since Ussuri.
So remove hacking rules for compatibility between python 2 and 3.
Change-Id: Id3fd78b5d3e21579975ea0d0fc65e4f66ea4582e
Diffstat (limited to 'trove/tests/unittests/api/common')
-rw-r--r-- | trove/tests/unittests/api/common/test_limits.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/trove/tests/unittests/api/common/test_limits.py b/trove/tests/unittests/api/common/test_limits.py index 2cf3be08..7d8ee340 100644 --- a/trove/tests/unittests/api/common/test_limits.py +++ b/trove/tests/unittests/api/common/test_limits.py @@ -600,8 +600,7 @@ class FakeHttplibConnection(object): resp = str(req.get_response(self.app)) resp = "HTTP/1.0 %s" % resp - if six.PY3: - resp = resp.encode("utf-8") + resp = resp.encode("utf-8") sock = FakeHttplibSocket(resp) self.http_response = http_client.HTTPResponse(sock) self.http_response.begin() |