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 ff4bcf6 commit c71bb45Copy full SHA for c71bb45
1 file changed
Lib/test/test_sqlite3/test_cli.py
@@ -202,8 +202,8 @@ def test_interact_on_disk_file(self):
202
def test_color(self):
203
with unittest.mock.patch("_colorize.can_colorize", return_value=True):
204
out, err = self.run_cli(commands="TEXT\n")
205
- self.assertIn("\001\x1b[1;35m\002sqlite> \001\x1b[0m\002", out)
206
- self.assertIn("\001\x1b[1;35m\002 ... \001\x1b[0m\002\001\x1b", out)
+ self.assertIn("\x01\x1b[1;35m\x02sqlite> \x01\x1b[0m\x02", out)
+ self.assertIn("\x01\x1b[1;35m\x02 ... \x01\x1b[0m\x02\x01\x1b", out)
207
out, err = self.run_cli(commands=("sel;",))
208
self.assertIn('\x1b[1;35mOperationalError (SQLITE_ERROR)\x1b[0m: '
209
'\x1b[35mnear "sel": syntax error\x1b[0m', err)
0 commit comments