summaryrefslogtreecommitdiff
path: root/test/test_misc.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_misc.py')
-rw-r--r--test/test_misc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_misc.py b/test/test_misc.py
index e71b26e..5a10936 100644
--- a/test/test_misc.py
+++ b/test/test_misc.py
@@ -11,7 +11,7 @@
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
"""
Tests for the misc checker.
"""
@@ -23,7 +23,7 @@ import contextlib
from logilab.common.testlib import unittest_main
from astroid import test_utils
from pylint.checkers import misc, variables
-from pylint.testutils import CheckerTestCase, Message, linter
+from pylint.testutils import CheckerTestCase, Message, linter, set_config
@contextlib.contextmanager
@@ -58,8 +58,8 @@ class FixmeTest(CheckerTestCase):
Message(msg_id='W0511', line=2, args=u'FIXME')):
self.checker.process_module(module)
+ @set_config(notes=[])
def test_empty_fixme_regex(self):
- self.checker.config.notes = []
with create_file_backed_module(
"""a = 1
# fixme