Skip to content

Commit 35a17e7

Browse files
committed
Make candidates tuple
1 parent bd0b9ce commit 35a17e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_sqlite3/test_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ def test_completion_order(self):
272272
if line.startswith(self.PS1)]
273273
self.assertEqual(len(indices), 2)
274274
start, end = indices[0] + 1, indices[1]
275-
candidates = list(map(str.strip, output_lines[start:end]))
276-
self.assertEqual(candidates, list(KEYWORDS))
275+
candidates = tuple(map(str.strip, output_lines[start:end]))
276+
self.assertEqual(candidates, KEYWORDS)
277277

278278

279279
if __name__ == "__main__":

0 commit comments

Comments
 (0)