enthought / enthought/traitsui

Test failures, possibly related to PySide 6.6.1

Open
#2,038 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Some errors I haven’t seen before:
```
======================================================================
FAIL: test_propagate_errors (traitsui.tests.editors.test_instance_editor.TestInstanceEditor)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/traitsui/tests/editors/test_instance_editor.py", line 324, in test_propagate_errors
self.assertFalse(ok_button.inspect(IsEnabled()))
AssertionError: True is not false

======================================================================
FAIL: test_propagate_errors_switch_selection (traitsui.tests.editors.test_instance_editor.TestInstanceEditor)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/traitsui/tests/editors/test_instance_editor.py", line 348, in test_propagate_errors_switch_selection
self.assertFalse(ok_button.inspect(IsEnabled()))
AssertionError: True is not false

----------------------------------------------------------------------
```
On MacOS and Windows (but less reliably), Python 3.8-3.11, PySide 6.6.1

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running test_propagate_errors and test_propagate_errors_switch_selection in traitsui.tests.editors.test_instance_editor under the reported Python and PySide versions. Inspect why ok_button remains enabled on macOS and Windows; done means both failures pass reliably on the affected platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.