Comply with flake8

This commit is contained in:
Philipp Hansch 2016-03-29 00:08:14 +02:00
parent 449adc2dc1
commit e9ae2156d3
2 changed files with 2 additions and 2 deletions

View File

@ -103,8 +103,9 @@ def pattern_match(*, pattern, value):
re_pattern = '.*'.join(re.escape(part) for part in pattern.split('*')) re_pattern = '.*'.join(re.escape(part) for part in pattern.split('*'))
return re.fullmatch(re_pattern, value) is not None return re.fullmatch(re_pattern, value) is not None
def abs_datapath(from_file): def abs_datapath(from_file):
"""Returns the absolute datapath. """Get the absolute datapath.
__FILE__ must be given as an argument __FILE__ must be given as an argument

View File

@ -19,4 +19,3 @@
import pytest_bdd as bdd import pytest_bdd as bdd
bdd.scenarios('spawn.feature') bdd.scenarios('spawn.feature')