Skip to content

Commit 835fea2

Browse files
Update Lib/test/test_pydoc/test_pydoc.py
Co-authored-by: Éric <[email protected]>
1 parent 54519d9 commit 835fea2

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Lib/test/test_pydoc/test_pydoc.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -902,39 +902,39 @@ def test_synopsis(self):
902902
def test_source_synopsis(self):
903903
test_cases = [
904904
('"""Single line docstring."""',
905-
"Single line docstring."),
905+
'Single line docstring.'),
906906

907907
('"""First line of docstring.\nSecond line.\nThird line."""',
908-
"First line of docstring."),
908+
'First line of docstring.'),
909909

910910
('""" Whitespace around docstring. """',
911-
"Whitespace around docstring."),
911+
'Whitespace around docstring.'),
912912

913913
# No docstring
914914
('x = 1\ny = 2',
915-
None),
915+
None),
916916

917917
('# Comment\n"""Docstring after comment."""',
918-
"Docstring after comment."),
918+
'Docstring after comment.'),
919919

920920
# Empty docstring
921921
('""""""',
922-
""),
922+
''),
923923

924924
('"""Café and résumé."""',
925-
"Café and résumé."),
925+
'Café and résumé.'),
926926

927927
("'''Triple single quotes'''",
928-
"Triple single quotes"),
928+
'Triple single quotes'),
929929

930930
('"Single double quotes"',
931-
"Single double quotes"),
931+
'Single double quotes'),
932932

933933
("'Single single quotes'",
934-
'Single single quotes'),
934+
'Single single quotes'),
935935

936936
('"""Concatenated""" \\\n"string" \'literals\'',
937-
"Concatenatedstringliterals")
937+
'Concatenatedstringliterals'),
938938
]
939939

940940
for source, expected in test_cases:

0 commit comments

Comments
 (0)