We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7170ad9 commit fed7c0aCopy full SHA for fed7c0a
Lib/test/test_sqlite3/test_cli.py
@@ -142,11 +142,11 @@ def test_interact_dot_commands_empty(self):
142
self.assertEqual(out.count(self.PS2), 0)
143
144
def test_interact_dot_commands_with_whitespaces(self):
145
- out, err = self.run_cli(commands=(".version ",))
+ out, err = self.run_cli(commands=(".version ", ". version"))
146
self.assertIn(self.MEMORY_DB_MSG, err)
147
- self.assertIn(sqlite3.sqlite_version, out)
+ self.assertEqual(out.count(sqlite3.sqlite_version + "\n"), 2)
148
self.assertEndsWith(out, self.PS1)
149
- self.assertEqual(out.count(self.PS1), 2)
+ self.assertEqual(out.count(self.PS1), 3)
150
151
152
def test_interact_valid_sql(self):
0 commit comments