We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 655ab0b commit a3ec3dfCopy full SHA for a3ec3df
_pytest/python_api.py
@@ -217,7 +217,8 @@ def tolerance(self):
217
absolute tolerance or a relative tolerance, depending on what the user
218
specified or which would be larger.
219
"""
220
- def set_default(x, default): return x if x is not None else default
+ def set_default(x, default):
221
+ return x if x is not None else default
222
223
# Figure out what the absolute tolerance should be. ``self.abs`` is
224
# either None or a value specified by the user.
tox.ini
@@ -213,3 +213,8 @@ filterwarnings =
213
[flake8]
214
max-line-length = 120
215
exclude = _pytest/vendored_packages/pluggy.py
216
+ignore=
+ # do not use bare except'
+ E722
+ # ambiguous variable name 'l'
+ E741
0 commit comments