Skip to content

Commit d8ef023

Browse files
committed
fix flake8 problems
1 parent 8bde103 commit d8ef023

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎git/test/test_repo.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -781,13 +781,13 @@ def test_empty_repo(self, rw_dir):
781781
nb=r.create_head('foo')
782782
assertnb.is_valid()
783783

784-
withopen(new_file_path, 'w') asf:
785-
f.write('Line 1\n')
784+
withopen(new_file_path, 'w') asf:
785+
f.write('Line 1\n')
786786

787787
r.index.add([new_file_path])
788788
r.index.commit("add line 1\nBAD MESSAGE 2\n")
789789

790-
withopen('%s/.git/logs/refs/heads/master'% (rw_dir,), 'r') asf:
790+
withopen('%s/.git/logs/refs/heads/master'% (rw_dir,), 'r') asf:
791791
contents=f.read()
792792

793793
assert'BAD MESSAGE'notincontents, 'log is corrupt'

0 commit comments

Comments
(0)