Skip to content

Commit c71bb45

Browse files
Update Lib/test/test_sqlite3/test_cli.py
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
1 parent ff4bcf6 commit c71bb45

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_sqlite3/test_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ def test_interact_on_disk_file(self):
202202
def test_color(self):
203203
with unittest.mock.patch("_colorize.can_colorize", return_value=True):
204204
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)
205+
self.assertIn("\x01\x1b[1;35m\x02sqlite> \x01\x1b[0m\x02", out)
206+
self.assertIn("\x01\x1b[1;35m\x02 ... \x01\x1b[0m\x02\x01\x1b", out)
207207
out, err = self.run_cli(commands=("sel;",))
208208
self.assertIn('\x1b[1;35mOperationalError (SQLITE_ERROR)\x1b[0m: '
209209
'\x1b[35mnear "sel": syntax error\x1b[0m', err)

0 commit comments

Comments
 (0)