File tree 3 files changed +5
-5
lines changed
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):
58
58
assert 'c2792cfa289ae6321ecf2cd5806c2194b0fd070c' == parents [0 ].id
59
59
assert commit .message_encoding is None
60
60
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 '
62
62
)
63
63
commit_time = 1288481576
64
64
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):
318
318
assert mergerepo .listall_mergeheads () == [pygit2 .Oid (hex = branch_head_hex )]
319
319
320
320
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
+ )
324
324
325
325
326
326
def test_merge_message (mergerepo ):
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ def test_lookup_commit(barerepo):
135
135
assert commit_sha == commit .id
136
136
assert ObjectType .COMMIT == commit .type
137
137
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 '
139
139
)
140
140
141
141
You can’t perform that action at this time.
0 commit comments