diff --git a/selftests/functional/test_basic.py b/selftests/functional/test_basic.py index 476899cd54cf25f252dcb5caf0a4f048719e158e..64bb20a5e8f13f82e807dc0cc1a9299513f1febf 100644 --- a/selftests/functional/test_basic.py +++ b/selftests/functional/test_basic.py @@ -17,7 +17,7 @@ import pkg_resources try: from io import BytesIO -except: +except ImportError: from BytesIO import BytesIO try: