Attached Documents

Patch against 745 (69950_patch.txt)

Patch against 745 (69950_patch.txt)

Patch against 745

download

diff -r 71243b772f2b reporters/text.py
--- a/reporters/text.py Thu Jun 16 19:29:00 2011 +0200
+++ b/reporters/text.py Tue Jun 28 18:11:24 2011 +1000
@@ -132,7 +132,7 @@
"""manage message of different types, and colorize output
using ansi escape codes
"""
- module, obj, line = location[1:]
+ module, obj, line, _ = location[1:]
if module not in self._modules:
color, style = self._get_decoration('S')
if module:
@@ -153,4 +153,3 @@
msg = colorize_ansi(msg, color, style)
sigle = colorize_ansi(sigle, color, style)
self.writeln('%s:%3s%s: %s' % (sigle, line, obj, msg))
-
diff -r 71243b772f2b test/utils.py
--- a/test/utils.py Thu Jun 16 19:29:00 2011 +0200
+++ b/test/utils.py Tue Jun 28 18:11:24 2011 +1000
@@ -70,7 +70,7 @@

def add_message(self, msg_id, location, msg):
"""manage message of different type and in the context of path """
- fpath, module, object, line = location
+ fpath, module, object, line, _ = location
self.message_ids[msg_id] = 1
if object:
object = ':%s' % object