Skip to content

Commit

Permalink
Merge branch 'issue-2836-fixture-collection-bug' of github.com:tom-da…
Browse files Browse the repository at this point in the history
…lton-fanduel/pytest into issue-2836-fixture-collection-bug
  • Loading branch information
tom-dalton-fanduel committed Oct 24, 2017
2 parents 14e3a5f + a3ec3df commit a5ac19c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _pytest/python_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ def tolerance(self):
absolute tolerance or a relative tolerance, depending on what the user
specified or which would be larger.
"""
def set_default(x, default): return x if x is not None else default
def set_default(x, default):
return x if x is not None else default

# Figure out what the absolute tolerance should be. ``self.abs`` is
# either None or a value specified by the user.
Expand Down
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,8 @@ filterwarnings =
[flake8]
max-line-length = 120
exclude = _pytest/vendored_packages/pluggy.py
ignore=
# do not use bare except'
E722
# ambiguous variable name 'l'
E741

0 comments on commit a5ac19c

Please sign in to comment.