diff --git a/magnumclient/tests/osc/unit/v1/test_clusters.py b/magnumclient/tests/osc/unit/v1/test_clusters.py index f9faa4ac..60125288 100644 --- a/magnumclient/tests/osc/unit/v1/test_clusters.py +++ b/magnumclient/tests/osc/unit/v1/test_clusters.py @@ -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