File tree 1 file changed +2
-17
lines changed
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):
3252
3252
print('hello')
3253
3253
""" )
3254
3254
3255
+ # List everything starting with 'co', there should be multiple matches
3256
+ # then add ntin and complete 'contin' to 'continue'
3255
3257
input = b"co\t \t ntin\t \n "
3256
3258
3257
3259
output = run_pty (script , input )
@@ -3260,23 +3262,6 @@ def test_basic_completion(self):
3260
3262
self .assertIn (b'condition' , output )
3261
3263
self .assertIn (b'continue' , output )
3262
3264
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
-
3280
3265
3281
3266
def load_tests (loader , tests , pattern ):
3282
3267
from test import test_pdb
You can’t perform that action at this time.
0 commit comments