Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python:backports
python-traits
fix-test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-test.patch of Package python-traits
Index: traits-6.1.0/traits/tests/test_enum.py =================================================================== --- traits-6.1.0.orig/traits/tests/test_enum.py +++ traits-6.1.0/traits/tests/test_enum.py @@ -15,12 +15,8 @@ from traits.api import ( Any, BaseEnum, Enum, HasTraits, List, Property, TraitError) from traits.testing.optional_dependencies import pyface, requires_traitsui -if pyface is not None: - GuiTestAssistant = pyface.toolkit.toolkit_object( - "util.gui_test_assistant:GuiTestAssistant") -else: - class GuiTestAssistant: - pass +class GuiTestAssistant: + pass class FooEnum(enum.Enum):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor