• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gevent / gevent / 2590
84%
master: 78%

Build:
Build:
LAST BUILD BRANCH: python-updates
DEFAULT BRANCH: master
Ran 27 Feb 2018 03:41PM UTC
Jobs 2
Files 66
Run time 57s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2590

push

travis-ci

jamadden
Add a GreenletTree for more organized, clearer output of greenlets

It organizes things by the spawning greenlet, if possible.

Example output::

```
<greenlet.greenlet object at 0x10753a9b0>
 :    Running:
 :      File "/tmp/t.py", line 38, in <module>
 :        print("\n".join(format_run_info()))
 :      File "//src/gevent/util.py", line 99, in format_run_info
 :        _format_greenlet_info(lines)
 :      File "//src/gevent/util.py", line 132, in _format_greenlet_info
 :        lines.extend(tree.format_lines(details=True))
 :      File "//src/gevent/util.py", line 265, in format_lines
 :        for l in self._render(tree)]
 :      File "/-main/src/gevent/util.py", line 310, in _render
 :        self.__render_tb(tree, 'Running:', self.greenlet.gr_frame)
 :      File "//src/gevent/util.py", line 281, in __render_tb
 :        tb = ''.join(traceback.format_stack(frame))
 :    Greenlet Locals:
 :      Local <type 'gevent._local.local'> at 0x10759cec0
 :        {'foo': 42}
 +--- <Greenlet "Greenlet-0" at 0x107405cb0: _run>; finished with value <Greenlet "Greenlet-4" at 0x10
 :          Parent: <Hub at 0x10753a550 select default pending=0 ref=0>
 :          Spawned at:
 :            File "/tmp/t.py", line 1, in <module>
 :              from gevent.util import GreenletTree
 |    +--- <Greenlet "Greenlet-4" at 0x10780b260: _run>; finished
 :                Parent: <Hub at 0x10753a550 select default pending=0 ref=0>
 :                Spawned at:
 :                  File "/tmp/t.py", line 1, in <module>
 :                    from gevent.util import GreenletTree
 :                  File "/tmp/t.py", line 12, in t2
 :                    def t2():
 +--- <Hub at 0x10753a550 select default pending=0 ref=0>
 :          Parent: <greenlet.greenlet object at 0x10753a9b0>
 :          Running:
 :            File "/Users/jmadden/Projects/GithubSources/gevent-main/src/gevent/hub.py", line 673, in run
 :              loop.run()
 +--- <Greenlet "Greenlet-1" at 0x10780b368: ... (continued)

164 of 164 new or added lines in 1 file covered. (100.0%)

7862 of 10910 relevant lines covered (72.06%)

1.44 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/gevent/queue.py
1
100.0
src/gevent/signal.py
1
100.0
src/gevent/socket.py
1
100.0
src/gevent/_util.py
2
100.0
src/gevent/hub.py
2
100.0
src/gevent/resolver/ares.py
2
100.0
src/gevent/ssl.py
2
100.0
src/gevent/_tblib.py
3
100.0
src/gevent/backdoor.py
3
100.0
src/gevent/os.py
4
100.0
src/gevent/baseserver.py
4
100.0
src/gevent/_socketcommon.py
4
100.0
src/gevent/threading.py
5
100.0
src/gevent/__init__.py
6
100.0
src/gevent/thread.py
10
100.0
src/gevent/_compat.py
11
100.0
src/gevent/_fileobjectposix.py
14
100.0
src/gevent/pywsgi.py
15
100.0
src/gevent/_ident.py
15
100.0
src/gevent/server.py
21
100.0
src/gevent/monkey.py
21
100.0
src/gevent/subprocess.py
26
100.0
src/gevent/builtins.py
73
100.0
src/gevent/_semaphore.py
158
100.0
src/gevent/local.py
245
100.0
src/gevent/greenlet.py
277
100.0
src/gevent/_socket2.py
348
100.0
src/gevent/_sslgte279.py
Jobs
ID Job ID Ran Files Coverage
3 2590.3 (TASK=test-py36) 27 Feb 2018 03:41PM UTC 0
71.9
Travis Job 2590.3
4 2590.4 (TASK=test-py37) 27 Feb 2018 03:42PM UTC 0
71.92
Travis Job 2590.4
Source Files on build 2590
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2590
  • 09d5247a on github
  • Prev Build on locals-debug (#2579)
  • Next Build on locals-debug (#2597)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc