diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-02-10 19:30:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 19:30:15 +0100 |
commit | 595ec422d6f9bd32f42c356d2f316ec69e0f7bee (patch) | |
tree | 766a12ddd91b43e09f670f913a4069bc7dc82d57 /tests/primer | |
parent | e3d5deca2886d9e2d5f2be2a252e39e02ae42b96 (diff) | |
download | pylint-git-595ec422d6f9bd32f42c356d2f316ec69e0f7bee.tar.gz |
Update ``pydocstringformatter`` to 0.4.0 (#5787)
Diffstat (limited to 'tests/primer')
-rw-r--r-- | tests/primer/test_primer_external.py | 6 | ||||
-rw-r--r-- | tests/primer/test_primer_stdlib.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/primer/test_primer_external.py b/tests/primer/test_primer_external.py index 12206b0fc..193eabf1d 100644 --- a/tests/primer/test_primer_external.py +++ b/tests/primer/test_primer_external.py @@ -30,7 +30,7 @@ PACKAGE_TO_LINT_JSON_BATCH_ONE = ( PACKAGES_TO_LINT_BATCH_ONE = get_packages_to_lint_from_json( PACKAGE_TO_LINT_JSON_BATCH_ONE ) -"""Dictionary of external packages used during the primer test in batch one""" +"""Dictionary of external packages used during the primer test in batch one.""" PACKAGE_TO_LINT_JSON_BATCH_TWO = ( Path(__file__).parent / "packages_to_lint_batch_two.json" @@ -38,7 +38,7 @@ PACKAGE_TO_LINT_JSON_BATCH_TWO = ( PACKAGES_TO_LINT_BATCH_TWO = get_packages_to_lint_from_json( PACKAGE_TO_LINT_JSON_BATCH_TWO ) -"""Dictionary of external packages used during the primer test in batch two""" +"""Dictionary of external packages used during the primer test in batch two.""" class TestPrimer: @@ -68,7 +68,7 @@ class TestPrimer: @staticmethod def _primer_test(package: PackageToLint, caplog: LogCaptureFixture) -> None: - """Runs pylint over external packages to check for crashes and fatal messages + """Runs pylint over external packages to check for crashes and fatal messages. We only check for crashes (bit-encoded exit code 32) and fatal messages (bit-encoded exit code 1). We assume that these external repositories do not diff --git a/tests/primer/test_primer_stdlib.py b/tests/primer/test_primer_stdlib.py index 96c847bc8..824c1feac 100644 --- a/tests/primer/test_primer_stdlib.py +++ b/tests/primer/test_primer_stdlib.py @@ -46,7 +46,7 @@ MODULES_NAMES = [m[1] for m in MODULES_TO_CHECK] def test_primer_stdlib_no_crash( test_module_location: str, test_module_name: str, capsys: CaptureFixture ) -> None: - """Test that pylint does not produce any crashes or fatal errors on stdlib modules""" + """Test that pylint does not produce any crashes or fatal errors on stdlib modules.""" __tracebackhide__ = True # pylint: disable=unused-variable os.chdir(test_module_location) with _patch_stdout(io.StringIO()): |