Skip to content

Commit

Permalink
fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
sileht committed Nov 28, 2018
1 parent 249c395 commit 1377878
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cotyledon/tests/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def get_lines(self, number=None):

@staticmethod
def hide_pids(lines):
return [re.sub(b"Child \d+", b"Child XXXX",
re.sub(b" \[[^\]]*\]", b" [XXXX]", line))
return [re.sub(b"Child \\d+", b"Child XXXX",
re.sub(b" \\[[^\\]]*\\]", b" [XXXX]", line))
for line in lines]

@staticmethod
Expand Down

0 comments on commit 1377878

Please sign in to comment.