File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ def hyperlink_csv_data(csv_data: Sequence[str]) -> list[str]:
15
15
... ]
16
16
>>> expected = [
17
17
... "開催地,参加人数",
18
- ... "`京都 <https://pyconjp.connpass.com/event/33014/>`_ ,一般参加5人",
19
- ... "`愛媛 <https://pyconjp.connpass.com/event/34564/>`_ ,一般参加11人、学生1人",
18
+ ... "`京都 <https://pyconjp.connpass.com/event/33014/>`__ ,一般参加5人",
19
+ ... "`愛媛 <https://pyconjp.connpass.com/event/34564/>`__ ,一般参加11人、学生1人",
20
20
... ]
21
21
>>> actual = EventHistoryCSVTable.hyperlink_csv_data(csv_data)
22
22
>>> actual == expected
@@ -25,7 +25,7 @@ def hyperlink_csv_data(csv_data: Sequence[str]) -> list[str]:
25
25
# TODO: 引数にdialectを追加する余地がありそう
26
26
reader = csv .DictReader (csv_data )
27
27
converted_csv_data = [
28
- f"`{ row ['開催地' ]} <{ row ['URL' ]} >`_ ,{ row ['参加人数' ]} " for row in reader
28
+ f"`{ row ['開催地' ]} <{ row ['URL' ]} >`__ ,{ row ['参加人数' ]} " for row in reader
29
29
]
30
30
header = "開催地,参加人数"
31
31
converted_csv_data .insert (0 , header )
You can’t perform that action at this time.
0 commit comments