Skip to content

Commit 33743c3

Browse files
[style] Disable protected-access in skipped test
1 parent c1c588c commit 33743c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pylint_django/tests/test_func.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ def test_migrations_plugin(test_file):
117117

118118

119119
@pytest.mark.parametrize("test_file", MIGRATIONS_TESTS[:1], ids=MIGRATIONS_TESTS_NAMES[:1])
120-
@pytest.mark.skip # currently skipped because ArgParser which pylint uses is not picklable so ...
120+
@pytest.mark.skip # TODO currently skipped because ArgParser which pylint uses is not pickable.
121121
def test_linter_should_be_pickleable_with_pylint_django_plugin_installed(test_file):
122122
lint_test = PylintDjangoMigrationsTest(test_file)
123123
lint_test.setUp()
124-
124+
# pylint: disable=protected-access
125125
# LintModuleTest sets reporter to instance of FunctionalTestReporter that is not picklable
126126
lint_test._linter.reporter = None
127127
pickle.dumps(lint_test._linter)

0 commit comments

Comments
 (0)