Skip to content

Commit 7e8da24

Browse files
committed
pythongh-106194: Rename duplicated tests in test_curses
1 parent bbf722d commit 7e8da24

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎Lib/test/test_curses.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,11 +1364,9 @@ def test_move_left(self):
13641364
self.mock_win.reset_mock()
13651365
self.textbox.do_command(curses.KEY_LEFT)
13661366
self.mock_win.move.assert_called_with(1, 0)
1367-
self.textbox.do_command(curses.KEY_RIGHT)
1368-
self.mock_win.move.assert_called_with(1, 2)
13691367
self.mock_win.reset_mock()
13701368

1371-
def test_move_left(self):
1369+
def test_move_right(self):
13721370
"""Test moving the cursor left."""
13731371
self.mock_win.reset_mock()
13741372
self.textbox.do_command(curses.KEY_RIGHT)

0 commit comments

Comments
 (0)