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

avanov / solo / 125

pending completion
125

push

travis-ci

avanov
wip

149 of 149 new or added lines in 13 files covered. (100.0%)

1349 of 2309 relevant lines covered (58.42%)

0.58 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

53.85
/solo/asyncio.py
1
import asyncio
1✔
2
from asyncio import AbstractEventLoop
1✔
3

4
import uvloop
1✔
5
import logging
1✔
6

7
from solo.config.app import Config, EventLoopType
1✔
8

9

10
log = logging.getLogger(__name__)
1✔
11

12

13
def configure_io(solo_cfg: Config) -> AbstractEventLoop:
1✔
14
    if solo_cfg.server.event_loop is EventLoopType.UVLOOP:
×
15
        log.debug('Switching to uvloop asyncio implementation')
×
16
        asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
×
17
    loop = asyncio.get_event_loop()
×
18
    loop.set_debug(solo_cfg.debug)
×
19
    return loop
×
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

© 2025 Coveralls, Inc