From 794187ffab92f85934bd7fd2a437e3a446273443 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 2 Oct 2016 10:24:46 -0400 Subject: BF: log.info is a function, just pass msg, no .write! --- git/test/lib/helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py index 3ec55399..4335a977 100644 --- a/git/test/lib/helper.py +++ b/git/test/lib/helper.py @@ -97,8 +97,8 @@ def with_rw_directory(func): try: return func(self, path) except Exception: - log.info.write("Test %s.%s failed, output is at %r\n", - type(self).__name__, func.__name__, path) + log.info("Test %s.%s failed, output is at %r\n", + type(self).__name__, func.__name__, path) keep = True raise finally: -- cgit v1.2.1