Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd8ef023

Browse files
committed
fix flake8 problems
1 parent8bde103 commitd8ef023

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)

[8]ページ先頭

©2009-2025 Movatter.jp