Skip to content

Commit b51df1c

Browse files
committed
Remove History workaround
We already have a clean history.
1 parent 8df76ef commit b51df1c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

bpython/test/test_curtsies_painting.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from bpython import config, inspection
1616
from bpython.curtsiesfrontend.repl import BaseRepl
1717
from bpython.curtsiesfrontend import replpainter
18-
from bpython.repl import History
1918
from bpython.curtsiesfrontend.repl import INCONSISTENT_HISTORY_MSG, \
2019
CONTIGUITY_BROKEN_MSG
2120
from bpython.test import FixLanguageTestCase as TestCase, TEST_CONFIG
@@ -48,8 +47,6 @@ class TestRepl(BaseRepl):
4847
def _request_refresh(inner_self):
4948
pass
5049
self.repl = TestRepl(config=setup_config())
51-
# clear history
52-
self.repl.rl_history = History()
5350
self.repl.height, self.repl.width = (5, 10)
5451

5552
@property
@@ -236,8 +233,6 @@ class TestRepl(BaseRepl):
236233
def _request_refresh(inner_self):
237234
self.refresh()
238235
self.repl = TestRepl(banner='', config=setup_config())
239-
# clear history
240-
self.repl.rl_history = History()
241236
self.repl.height, self.repl.width = (5, 32)
242237

243238
def send_key(self, key):

0 commit comments

Comments
 (0)