Skip to content

Commit

Permalink
Fix - An error added when applying isort/black everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Mar 9, 2019
1 parent 82d3eb8 commit b9e5220
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions pylint/test/extensions/data/docstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


def check_messages(*messages):
"""
"""
docstring"""
return messages

Expand Down Expand Up @@ -38,4 +38,3 @@ def method6(self):

def method7(self):
u"""Test OK 3 with unicode string"""

5 changes: 2 additions & 3 deletions pylint/test/extensions/test_docstyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""Tests for the pylint checker in :mod:`pylint.extensions.check_docstring
"""

import os.path as osp
from os.path import abspath, dirname, join

import pytest

Expand Down Expand Up @@ -41,8 +41,7 @@ def checker(checker):


def test_docstring_message(linter):
docstring_test = osp.join(osp.dirname(osp.abspath(__file__)), 'data',
'docstring.py')
docstring_test = join(dirname(abspath(__file__)), 'data', 'docstring.py')
linter.check([docstring_test])
msgs = linter.reporter.messages
assert len(msgs) == 7
Expand Down

0 comments on commit b9e5220

Please sign in to comment.