Skip to content

Commit ab176ab

Browse files
committed
Remove unnecessary comments
1 parent d9fe8dd commit ab176ab

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Lib/test/test_pydoc/test_pydoc.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -901,31 +901,26 @@ def test_synopsis(self):
901901

902902
def test_source_synopsis(self):
903903
test_cases = [
904-
# Single line docstring
905904
('"""Single line docstring."""',
906905
"Single line docstring."),
907906

908-
# Multi-line docstring - should only return first line
909907
('"""First line of docstring.\nSecond line.\nThird line."""',
910908
"First line of docstring."),
911909

912-
# Docstring with leading/trailing whitespace
913910
('""" Whitespace around docstring. """',
914911
"Whitespace around docstring."),
915912

916913
# No docstring
917914
('x = 1\ny = 2',
918915
None),
919916

920-
# Comments before docstring
921917
('# Comment\n"""Docstring after comment."""',
922918
"Docstring after comment."),
923919

924920
# Empty docstring
925921
('""""""',
926922
""),
927923

928-
# Unicode docstring
929924
('"""Café and résumé."""',
930925
"Café and résumé."),
931926
]

0 commit comments

Comments
 (0)