File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def test_read_commit(barerepo):
5858 assert 'c2792cfa289ae6321ecf2cd5806c2194b0fd070c' == parents [0 ].id
5959 assert commit .message_encoding is None
6060 assert commit .message == (
61- 'Second test data commit.\n \n ' 'This commit has some additional text.\n '
61+ 'Second test data commit.\n \n This commit has some additional text.\n '
6262 )
6363 commit_time = 1288481576
6464 assert commit_time == commit .commit_time
Original file line number Diff line number Diff line change @@ -318,9 +318,9 @@ def test_merge_mergeheads(mergerepo):
318318 assert mergerepo .listall_mergeheads () == [pygit2 .Oid (hex = branch_head_hex )]
319319
320320 mergerepo .state_cleanup ()
321- assert (
322- mergerepo . listall_mergeheads () == []
323- ), 'state_cleanup() should wipe the mergeheads'
321+ assert mergerepo . listall_mergeheads () == [], (
322+ 'state_cleanup () should wipe the mergeheads'
323+ )
324324
325325
326326def test_merge_message (mergerepo ):
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ def test_lookup_commit(barerepo):
135135 assert commit_sha == commit .id
136136 assert ObjectType .COMMIT == commit .type
137137 assert commit .message == (
138- 'Second test data commit.\n \n ' 'This commit has some additional text.\n '
138+ 'Second test data commit.\n \n This commit has some additional text.\n '
139139 )
140140
141141
You can’t perform that action at this time.
0 commit comments