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):
285285 readline.parse_and_bind("set completion-query-items 0")
286286 readline.parse_and_bind("set page-completions off")
287287 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")
288290
289291 main()
290292 """ )
@@ -296,7 +298,7 @@ def test_complete_no_input(self):
296298 i for i , line in enumerate (lines )
297299 if line .startswith (self .PS1 )
298300 ]
299- self .assertEqual (len (indices ), 3 )
301+ self .assertEqual (len (indices ), 2 )
300302 start , end = indices
301303 candidates = [l .strip () for l in lines [start + 1 :end ]]
302304 self .assertEqual (candidates , sorted (SQLITE_KEYWORDS ))
You can’t perform that action at this time.
0 commit comments