Skip to content

Commit 2528d11

Browse files
committed
BF: log.info is a function, just pass msg, no .write!
1 parent 31fd955 commit 2528d11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/test/lib/helper.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ def wrapper(self):
9494
try:
9595
return func(self, path)
9696
except Exception:
97-
log.info.write("Test %s.%s failed, output is at %r\n",
98-
type(self).__name__, func.__name__, path)
97+
log.info("Test %s.%s failed, output is at %r\n",
98+
type(self).__name__, func.__name__, path)
9999
keep = True
100100
raise
101101
finally:

0 commit comments

Comments
 (0)