Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test_mousewheel: Do not skip test
…which was broken due to incorrect delta on Aqua and XQuartz,
and probably not because of `.update_idletasks()`.
  • Loading branch information
chrstphrchvz committed May 2, 2023
commit 2e27a947ea37fd60cb1e88252cd778c35fccaf9b
3 changes: 1 addition & 2 deletions Lib/idlelib/idle_test/test_sidebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,8 +699,7 @@ def test_mousewheel(self):
else:
sidebar.canvas.event_generate('<MouseWheel>', x=0, y=0, delta=delta)
yield
if sys.platform != 'darwin': # .update_idletasks() does not work.
self.assertIsNone(text.dlineinfo(text.index(f'{last_lineno}.0')))
self.assertIsNone(text.dlineinfo(text.index(f'{last_lineno}.0')))

# Scroll back down.
if sidebar.canvas._windowingsystem == 'x11':
Expand Down