Always use io module

The io module is always available in Python 3.

Change-Id: If4900ca48750b87dcdb66e8761775a100aa28fca
This commit is contained in:
Takashi Kajinami 2024-05-07 21:53:40 +09:00
parent b7bb35741a
commit f278ef540b
1 changed files with 1 additions and 4 deletions

View File

@ -14,16 +14,13 @@
#
import copy
from io import StringIO
import os
import sys
import tempfile
from unittest import mock
from contextlib import contextmanager
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
from unittest.mock import call
from magnumclient import exceptions