diff options
author | Andras Tim <andras.tim@gmail.com> | 2017-07-17 01:25:07 +0200 |
---|---|---|
committer | Andras Tim <andras.tim@gmail.com> | 2017-07-17 01:28:16 +0200 |
commit | 57438f3efe487106a5bc779237c5e4e84bd3f4f0 (patch) | |
tree | dda33f9392fe66c03b7c7b736e3d8e9308443899 /_pytest/compat.py | |
parent | e855a79dd4d3976c3432f08c4b5f57333dcb3917 (diff) | |
download | pytest-57438f3efe487106a5bc779237c5e4e84bd3f4f0.tar.gz |
Fixed E127 flake8 errors
continuation line over-indented for visual indent
Diffstat (limited to '_pytest/compat.py')
-rw-r--r-- | _pytest/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/compat.py b/_pytest/compat.py index 269a23504..1b2d95ce3 100644 --- a/_pytest/compat.py +++ b/_pytest/compat.py @@ -79,7 +79,7 @@ def num_mock_patch_args(function): mock = sys.modules.get("mock", sys.modules.get("unittest.mock", None)) if mock is not None: return len([p for p in patchings - if not p.attribute_name and p.new is mock.DEFAULT]) + if not p.attribute_name and p.new is mock.DEFAULT]) return len(patchings) |