Skip to content

Commit

Permalink
pep8 fixues up on replacer regex
Browse files Browse the repository at this point in the history
  • Loading branch information
cdent committed Aug 14, 2019
1 parent 6ad95bd commit 1efcd24
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gabbi/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,8 @@ def _replacer_regex(key):
case = HTTPTestCase._history_regex
return (
r"%s\$%s(:(?P<cast>\w+))?"
r"\[(?P<quote>['\"])(?P<arg>.+?)(?P=quote)\]" % (
case, key))

r"\[(?P<quote>['\"])(?P<arg>.+?)(?P=quote)\]"
% (case, key))

@staticmethod
def _simple_replacer_regex(key):
Expand Down

0 comments on commit 1efcd24

Please sign in to comment.