Skip to content

Commit e92b9fa

Browse files
committed
Change Cancel to OK button
1 parent 2eb9138 commit e92b9fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

traitsui/tests/editors/test_range_editor_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def test_text_editing_out_of_bounds(self):
153153
assert displayed == '4'
154154
assert num.number == 3
155155

156-
cancel_button = tester.find_by_id(ui, "Cancel")
156+
cancel_button = tester.find_by_id(ui, "OK")
157157
cancel_button.perform(command.MouseClick())
158158

159159
assert num.number == 4

0 commit comments

Comments
 (0)