diff options
author | Ran Benita <ran@unusedvar.com> | 2020-07-18 12:35:13 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-08-03 10:10:43 +0300 |
commit | b8471aa527ab1a21ee66f24e5c23a9773b5b0793 (patch) | |
tree | 37dfeeea501768be711d7faefae6a1c3fcec29d1 /testing/test_unittest.py | |
parent | 701998bf2c9e91e8b153ef237c96c31294b8b8c7 (diff) | |
download | pytest-b8471aa527ab1a21ee66f24e5c23a9773b5b0793.tar.gz |
testing: fix some docstring issues
In preparation for enforcing some docstring lints.
Diffstat (limited to 'testing/test_unittest.py')
-rw-r--r-- | testing/test_unittest.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/testing/test_unittest.py b/testing/test_unittest.py index 6ddc6186b..f9455e63b 100644 --- a/testing/test_unittest.py +++ b/testing/test_unittest.py @@ -1196,9 +1196,7 @@ def test_pdb_teardown_called(testdir, monkeypatch) -> None: @pytest.mark.parametrize("mark", ["@unittest.skip", "@pytest.mark.skip"]) def test_pdb_teardown_skipped(testdir, monkeypatch, mark: str) -> None: - """ - With --pdb, setUp and tearDown should not be called for skipped tests. - """ + """With --pdb, setUp and tearDown should not be called for skipped tests.""" tracked = [] # type: List[str] monkeypatch.setattr(pytest, "test_pdb_teardown_skipped", tracked, raising=False) |