From 85f97b5e1c23d1407464f0f3515d4a57edb4687c Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Fri, 8 Aug 2014 14:50:24 +0300 Subject: [PATCH] Python 2.7 supports io.BytesIO --- tests/test_full.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/test_full.py b/tests/test_full.py index 7847a19..bad58db 100644 --- a/tests/test_full.py +++ b/tests/test_full.py @@ -1,8 +1,5 @@ import os -try: - from cStringIO import StringIO as BytesIO -except ImportError: - from io import BytesIO # Python 3 +from io import BytesIO import numpy as np