From e9ae2156d3b768824ca030cfa189c07e31f51ad6 Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Tue, 29 Mar 2016 00:08:14 +0200 Subject: [PATCH] Comply with flake8 --- tests/helpers/utils.py | 3 ++- tests/integration/features/test_spawn.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/helpers/utils.py b/tests/helpers/utils.py index 6ce7569b5..003947e3c 100644 --- a/tests/helpers/utils.py +++ b/tests/helpers/utils.py @@ -103,8 +103,9 @@ def pattern_match(*, pattern, value): re_pattern = '.*'.join(re.escape(part) for part in pattern.split('*')) return re.fullmatch(re_pattern, value) is not None + def abs_datapath(from_file): - """Returns the absolute datapath. + """Get the absolute datapath. __FILE__ must be given as an argument diff --git a/tests/integration/features/test_spawn.py b/tests/integration/features/test_spawn.py index 8f7e62259..e9ddf0301 100644 --- a/tests/integration/features/test_spawn.py +++ b/tests/integration/features/test_spawn.py @@ -19,4 +19,3 @@ import pytest_bdd as bdd bdd.scenarios('spawn.feature') -