aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_sqlite3/test_cli.py
diff options
context:
space:
mode:
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>2025-06-19 12:46:33 +0100
committerGitHub <noreply@github.com>2025-06-19 13:46:33 +0200
commitecd83e02b128bf0879d9bb1d3940e40bcb14bdc6 (patch)
tree18d434e8b3631eeeb9e9c767f8a5ebb6fe6889a2 /Lib/test/test_sqlite3/test_cli.py
parent9731dd2c8df3509095ea45493bcefabe732eaf60 (diff)
downloadcpython-ecd83e02b128bf0879d9bb1d3940e40bcb14bdc6.tar.gz
cpython-ecd83e02b128bf0879d9bb1d3940e40bcb14bdc6.zip
gh-133439: Fix the error message in the sqlite3 CLI (GH-133807)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/test/test_sqlite3/test_cli.py')
-rw-r--r--Lib/test/test_sqlite3/test_cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sqlite3/test_cli.py b/Lib/test/test_sqlite3/test_cli.py
index d993e28c4bb..720fa3c4c1e 100644
--- a/Lib/test/test_sqlite3/test_cli.py
+++ b/Lib/test/test_sqlite3/test_cli.py
@@ -138,7 +138,7 @@ class InteractiveSession(unittest.TestCase):
self.assertEndsWith(out, self.PS1)
self.assertEqual(out.count(self.PS1), 2)
self.assertEqual(out.count(self.PS2), 0)
- self.assertIn("Error", err)
+ self.assertIn('Error: unknown command: "', err)
# test "unknown_command" is pointed out in the error message
self.assertIn("unknown_command", err)