summaryrefslogtreecommitdiff
path: root/barbicanclient/tests/test_barbican.py
diff options
context:
space:
mode:
authorTakashi Kajinami <tkajinam@redhat.com>2022-05-17 17:22:01 +0900
committerTakashi Kajinami <tkajinam@redhat.com>2022-05-18 22:31:01 +0900
commit69125bfd07398245480e783415352a2ed0c5ee92 (patch)
tree0c783c5e14ecb6dbf9aeb2960df3e06f3dc1c7c6 /barbicanclient/tests/test_barbican.py
parentc6ce0af02863439e5a4834fede07fb4bf855e631 (diff)
downloadpython-barbicanclient-69125bfd07398245480e783415352a2ed0c5ee92.tar.gz
Remove six
Python 2 is no longer supported, so we no longer need the six library. This change removes usage of the library as well as reference to it (and Python 2) from the documentation. Change-Id: I6328b11dcad54f70f64ecff53eb60708e34351cf
Diffstat (limited to 'barbicanclient/tests/test_barbican.py')
-rw-r--r--barbicanclient/tests/test_barbican.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/barbicanclient/tests/test_barbican.py b/barbicanclient/tests/test_barbican.py
index c34be55..71ce182 100644
--- a/barbicanclient/tests/test_barbican.py
+++ b/barbicanclient/tests/test_barbican.py
@@ -12,7 +12,7 @@
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-import six
+import io
from barbicanclient import barbican as barb
from barbicanclient.barbican import Barbican
@@ -26,8 +26,8 @@ class WhenTestingBarbicanCLI(test_client.BaseEntityResource):
def setUp(self):
self._setUp('barbican')
- self.captured_stdout = six.StringIO()
- self.captured_stderr = six.StringIO()
+ self.captured_stdout = io.StringIO()
+ self.captured_stderr = io.StringIO()
self.barbican = Barbican(
stdout=self.captured_stdout,
stderr=self.captured_stderr