diff options
-rw-r--r-- | Lib/unittest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/unittest.py b/Lib/unittest.py index aaed6a26d4..dde27fb95c 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py @@ -809,7 +809,8 @@ class _WritelnDecorator(object): return getattr(self.stream,attr) def writeln(self, arg=None): - if arg: self.write(arg) + if arg: + self.write(arg) self.write('\n') # text-mode streams translate to \r\n if needed |