[issue37706] IDLE test_sidebar testcases test_click_selection and test_drag_selection can fail on macOS

Ned Deily report at bugs.python.org
Mon Jul 29 10:41:39 EDT 2019


New submission from Ned Deily <nad at python.org>:

On macOS, there are two test failure seen with test_sidebar (tested on 10.14 with Tk 8.6.8 and 8.6.0 - the failures should be reproducible with the python.org 3.8.0b3 installer for macOS which will be available soon.)

======================================================================
FAIL: test_click_selection (idlelib.idle_test.test_sidebar.LineNumbersTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/idlelib/idle_test/test_sidebar.py", line 253, in test_click_selection
    self.assertEqual(self.get_selection(), ('2.0', '3.0'))
AssertionError: Tuples differ: ('1.0', '2.0') != ('2.0', '3.0')

First differing element 0:
'1.0'
'2.0'

- ('1.0', '2.0')
+ ('2.0', '3.0')

======================================================================
FAIL: test_drag_selection (idlelib.idle_test.test_sidebar.LineNumbersTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/idlelib/idle_test/test_sidebar.py", line 273, in test_drag_selection
    self.assertEqual(self.get_selection(), ('1.0', '4.0'))
AssertionError: Tuples differ: ('1.0', '3.0') != ('1.0', '4.0')

First differing element 1:
'3.0'
'4.0'

- ('1.0', '3.0')
?          ^

+ ('1.0', '4.0')
?          ^


----------------------------------------------------------------------

----------
assignee: terry.reedy
components: IDLE
messages: 348666
nosy: ned.deily, taleinat, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: IDLE test_sidebar testcases test_click_selection and test_drag_selection can fail on macOS
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37706>
_______________________________________


More information about the Python-bugs-list mailing list