Skip to content

Commit

Permalink
Attempt to fix up some spurious coverage issues
Browse files Browse the repository at this point in the history
  • Loading branch information
njsmith committed May 28, 2017
1 parent 845bf70 commit cbf9d5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[run]
branch=True
# For some reason coverage recording doesn't work for ipython_custom_exc.py,
# so leave it out of reports
omit=
setup.py
autodoc_examples.py

[report]
precision = 1
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sphinxcontrib_trio.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ async def acm_gen(): # pragma: no cover
await yield_()

@wraps(acm_gen)
def acm_wrapped():
def acm_wrapped(): # pragma: no cover
pass
acm_wrapped.__returns_acontextmanager__ = True

Expand Down

0 comments on commit cbf9d5f

Please sign in to comment.