New submission from Ned Deily <n...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue37706>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to