Skip to content

Commit 794187f

Browse files
yarikopticankostis
authored andcommitted
BF: log.info is a function, just pass msg, no .write!
1 parent e25da8f commit 794187f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: git/test/lib/helper.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def wrapper(self):
9797
try:
9898
return func(self, path)
9999
except Exception:
100-
log.info.write("Test %s.%s failed, output is at %r\n",
101-
type(self).__name__, func.__name__, path)
100+
log.info("Test %s.%s failed, output is at %r\n",
101+
type(self).__name__, func.__name__, path)
102102
keep = True
103103
raise
104104
finally:

0 commit comments

Comments
 (0)