diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2014-10-16 14:22:06 +0300 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2014-10-16 14:22:06 +0300 |
| commit | 00e7dc3b23ed9fb98d71fc2e39abe9fb471a3d10 (patch) | |
| tree | 76ee0bc6dc9ce7b3fb6fbfdd3d6bc3b5b7242aae /testutils.py | |
| parent | c03fefdefba97e187f5458288227f4224ee53cc0 (diff) | |
| parent | 1625e73cac5728a555c1b7004decaa83129d2787 (diff) | |
| download | pylint-git-00e7dc3b23ed9fb98d71fc2e39abe9fb471a3d10.tar.gz | |
Fix a regression, where '{path}' was no longer accepted in '--msg-template'.
Patch by LCD47.
Diffstat (limited to 'testutils.py')
| -rw-r--r-- | testutils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testutils.py b/testutils.py index 8ceac5fd4..0b1b96732 100644 --- a/testutils.py +++ b/testutils.py @@ -24,7 +24,7 @@ import re import unittest from glob import glob -from os import linesep +from os import linesep, getcwd, sep from os.path import abspath, basename, dirname, isdir, join, splitext @@ -95,6 +95,7 @@ class TestReporter(BaseReporter): def __init__(self): self.message_ids = {} self.reset() + self.path_strip_prefix = getcwd() + sep def reset(self): self.out = StringIO() |
