diff options
author | Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> | 2025-06-19 12:46:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-19 13:46:33 +0200 |
commit | ecd83e02b128bf0879d9bb1d3940e40bcb14bdc6 (patch) | |
tree | 18d434e8b3631eeeb9e9c767f8a5ebb6fe6889a2 /Lib/test/test_sqlite3/test_cli.py | |
parent | 9731dd2c8df3509095ea45493bcefabe732eaf60 (diff) | |
download | cpython-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.py | 2 |
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) |