File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -285,6 +285,8 @@ def test_complete_no_input(self):
285
285
readline.parse_and_bind("set completion-query-items 0")
286
286
readline.parse_and_bind("set page-completions off")
287
287
readline.parse_and_bind("set completion-display-width 0")
288
+ readline.parse_and_bind("set show-all-if-ambiguous off")
289
+ readline.parse_and_bind("set show-all-if-unmodified off")
288
290
289
291
main()
290
292
""" )
@@ -296,7 +298,7 @@ def test_complete_no_input(self):
296
298
i for i , line in enumerate (lines )
297
299
if line .startswith (self .PS1 )
298
300
]
299
- self .assertEqual (len (indices ), 3 )
301
+ self .assertEqual (len (indices ), 2 )
300
302
start , end = indices
301
303
candidates = [l .strip () for l in lines [start + 1 :end ]]
302
304
self .assertEqual (candidates , sorted (SQLITE_KEYWORDS ))
You can’t perform that action at this time.
0 commit comments