mirror of
https://github.com/python/cpython.git
synced 2025-11-09 10:01:42 +00:00
gh-133390: Extend completion for .commands in sqlite3 (GH-135432)
This commit is contained in:
parent
b8c90e72b3
commit
a5530656c1
3 changed files with 13 additions and 2 deletions
|
|
@ -249,6 +249,11 @@ def test_complete_sql_keywords(self):
|
|||
self.assertIn(b"SELECT", output)
|
||||
self.assertIn(b"(1,)", output)
|
||||
|
||||
# .commands are completed without changing case
|
||||
input_ = b".ver\t\n.quit\n"
|
||||
output = self.write_input(input_)
|
||||
self.assertIn(b".version", output)
|
||||
|
||||
@unittest.skipIf(sys.platform.startswith("freebsd"),
|
||||
"Two actual tabs are inserted when there are no matching"
|
||||
" completions in the pseudo-terminal opened by run_pty()"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue