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 97d002d commit c2ed7f1Copy full SHA for c2ed7f1
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 ", ". version"))
+ out, err = self.run_cli(commands=(".version ",))
146
self.assertIn(self.MEMORY_DB_MSG, err)
147
- self.assertEqual(out.count(sqlite3.sqlite_version + "\n"), 2)
+ self.assertIn(sqlite3.sqlite_version, out)
148
self.assertEndsWith(out, self.PS1)
149
- self.assertEqual(out.count(self.PS1), 3)
+ self.assertEqual(out.count(self.PS1), 2)
150
151
152
def test_interact_valid_sql(self):
0 commit comments