Skip to content

Commit

Permalink
Change Cancel to OK button
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrod committed Nov 24, 2021
1 parent 2eb9138 commit e92b9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traitsui/tests/editors/test_range_editor_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def test_text_editing_out_of_bounds(self):
assert displayed == '4'
assert num.number == 3

cancel_button = tester.find_by_id(ui, "Cancel")
cancel_button = tester.find_by_id(ui, "OK")
cancel_button.perform(command.MouseClick())

assert num.number == 4
Expand Down

0 comments on commit e92b9fa

Please sign in to comment.