enthought / enthought/pyface

pyface/ui/wx/data_view/tests/test_data_wrapper.py tests should be skipped if wx not installed

Open
#828 3 comments 0 reactions 0 assignees View on GitHub
component: test suite toolkit: Wx
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

the tests in this file: https://github.com/enthought/pyface/blob/master/pyface/ui/wx/data_view/tests/test_data_wrapper.py
should all be skipped if `wx` is not installed to avoid the tests failing when running the test suite with a different backend.

This is related to #812. We would want to do something like what is done here: https://github.com/enthought/pyface/blob/92ab7363268ddcf9efde8fc4cdc561b042160e90/pyface/ui/wx/grid/tests/test_simple_grid_model.py#L12-L20

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.