You need to sign in or sign up before continuing.
提交 387a9e9b 编写于 作者: L Lukáš Doktor

selftests: Catch only ImportError when trying to import BytesIO

Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 27fde9ce
...@@ -17,7 +17,7 @@ import pkg_resources ...@@ -17,7 +17,7 @@ import pkg_resources
try: try:
from io import BytesIO from io import BytesIO
except: except ImportError:
from BytesIO import BytesIO from BytesIO import BytesIO
try: try:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册