File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -3252,6 +3252,8 @@ def test_basic_completion(self):
32523252 print('hello')
32533253 """ )
32543254
3255+ # List everything starting with 'co', there should be multiple matches
3256+ # then add ntin and complete 'contin' to 'continue'
32553257 input = b"co\t \t ntin\t \n "
32563258
32573259 output = run_pty (script , input )
@@ -3260,23 +3262,6 @@ def test_basic_completion(self):
32603262 self .assertIn (b'condition' , output )
32613263 self .assertIn (b'continue' , output )
32623264
3263- def test_expression_completion (self ):
3264- script = textwrap .dedent ("""
3265- value = "speci"
3266- import pdb; pdb.Pdb().set_trace()
3267- """ )
3268-
3269- input = b"val\t + 'al'\n "
3270- input += b"p val\t + 'es'\n "
3271- input += b"$_fra\t \n "
3272- input += b"c\n "
3273-
3274- output = run_pty (script , input )
3275-
3276- self .assertIn (b'special' , output )
3277- self .assertIn (b'species' , output )
3278- self .assertIn (b'$_frame' , output )
3279-
32803265
32813266def load_tests (loader , tests , pattern ):
32823267 from test import test_pdb
You can’t perform that action at this time.
0 commit comments