Remove usage of six

Remove six-library Replace the following items with Python 3 style code.
- six.interger_types
- six.text_type
- six.string_types
- six.PY3
- six.moves
- six.add_metaclass
- six.ensure_str
- six.reraise

Change-Id: I0c7691b3d6f6315137d8f0b9eeaa3b8e76749c04
This commit is contained in:
songwenping
2020-10-06 15:26:11 +08:00
committed by root
parent 665abe1f00
commit 02e573b95a
21 changed files with 39 additions and 68 deletions

View File

@@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from six.moves import http_client
from http import client as http_client
from unittest import mock
import webtest