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

pytest-dev / pytest / 2291
51%

Build:
DEFAULT BRANCH: master
Ran 06 Jan 2017 03:23PM UTC
Jobs 1
Files 40
Run time 3s
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
2291

Pull #2175

travis-ci

web-flow
Execute 'async def' test functions

pytest didn't use the result of test functions but `async def` functions
return an awaitable object.

Though `async def` functions were just passed like they don't have any
problem, its code actually didn't run. For users, it was really hard to
detect the tests really were run or not.

This patch makes to check the result of test functions and if it is an
awaitable object then actually run the functions to ensure its code is
run.
Pull Request #2175: Execute 'async def' test functions

9 of 9 new or added lines in 2 files covered. (100.0%)

8257 of 8902 relevant lines covered (92.75%)

0.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
_pytest/compat.py
3
100.0
_pytest/python.py

Uncovered Existing Lines

Lines Coverage ∆ File
5
100.0
_pytest/compat.py
21
100.0
_pytest/python.py
Jobs
ID Job ID Ran Files Coverage
1 2291.1 (TESTENV=coveralls) 06 Jan 2017 03:23PM UTC 0
92.75
Travis Job 2291.1
Source Files on build 2291
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2291
  • Pull Request #2175
  • PR Base - master (#2290)
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