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

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

‎git/test/lib/helper.py

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /