We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8851187 commit 0dfc034Copy full SHA for 0dfc034
bpython/test/test_curtsies_repl.py
@@ -5,7 +5,6 @@
5
import io
6
from functools import partial
7
from contextlib import contextmanager
8
-from six.moves import StringIO
9
10
from bpython.curtsiesfrontend import repl as curtsiesrepl
11
from bpython.curtsiesfrontend import interpreter
@@ -222,7 +221,7 @@ def test_list_win_not_visible_and_match_selected_if_one_option(self):
222
221
# from http://stackoverflow.com/a/17981937/398212 - thanks @rkennedy
223
@contextmanager
224
def captured_output():
225
- new_out, new_err = StringIO(), StringIO()
+ new_out, new_err = io.StringIO(), io.StringIO()
226
old_out, old_err = sys.stdout, sys.stderr
227
try:
228
sys.stdout, sys.stderr = new_out, new_err
0 commit comments