Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
python-gevent
gevent-opensuse-nocolor-tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gevent-opensuse-nocolor-tests.patch of Package python-gevent
Avoid colorization of test output in obs runners Index: gevent-24.2.1/src/gevent/testing/util.py =================================================================== --- gevent-24.2.1.orig/src/gevent/testing/util.py +++ gevent-24.2.1/src/gevent/testing/util.py @@ -98,6 +98,8 @@ def _color(what): return _color_code(_colorscheme[what]) def _colorize(what, message, normal='normal'): + if os.environ.get("TEST_NOCOLOR", False): + return message return _color(what) + message + _color(normal) def log(message, *args, **kwargs):
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