Skip to content

Commit 0dfc034

Browse files
committed
Remove use of six.moves.StringIO
1 parent 8851187 commit 0dfc034

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bpython/test/test_curtsies_repl.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import io
66
from functools import partial
77
from contextlib import contextmanager
8-
from six.moves import StringIO
98

109
from bpython.curtsiesfrontend import repl as curtsiesrepl
1110
from bpython.curtsiesfrontend import interpreter
@@ -222,7 +221,7 @@ def test_list_win_not_visible_and_match_selected_if_one_option(self):
222221
# from http://stackoverflow.com/a/17981937/398212 - thanks @rkennedy
223222
@contextmanager
224223
def captured_output():
225-
new_out, new_err = StringIO(), StringIO()
224+
new_out, new_err = io.StringIO(), io.StringIO()
226225
old_out, old_err = sys.stdout, sys.stderr
227226
try:
228227
sys.stdout, sys.stderr = new_out, new_err

0 commit comments

Comments
 (0)