enthought / enthought/pyface

test_focus failure on macOS

Open
#1,024 3 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

`test_focus` consistently fails for me on macOS when run as part of the whole test suite using etstool. Following a `python etstool.py install` and a `python etstool.py test`, I get this output:
```
======================================================================
FAIL: test_focus (pyface.tests.test_widget.TestConcreteWidget)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/mdickinson/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/pyface/tests/test_widget.py", line 333, in test_focus
self.assertFalse(self.widget.has_focus())
AssertionError: True is not false

----------------------------------------------------------------------
Ran 1196 tests in 56.754s

FAILED (failures=1, skipped=60)
```

This test is apparently already skipped on Linux and Windows. I couldn't find any issue associated with that skip; I think if there isn't one, we should open one (or repurpose this one) and add that issue reference to the skip message.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.