Skip to content

Commit bd071c2

Browse files
committed
Import correction for 2.7 version
1 parent 42ba041 commit bd071c2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_facade.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ def setUp(self):
2828

2929
def test_bunch_launch(self):
3030
import sys
31-
from io import StringIO
31+
try:
32+
from io import StringIO
33+
except:
34+
from StringIO import StringIO
3235
out = StringIO()
3336
sys.stdout = out
3437
self.runner.runAll()

0 commit comments

Comments
 (0)