Skip to content

Commit 1439af7

Browse files
author
Sylvain Thénault
committed
closes #69950: Tests failing due to 'column offset' changes in 744
1 parent bc00856 commit 1439af7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

reporters/text.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def add_message(self, msg_id, location, msg):
132132
"""manage message of different types, and colorize output
133133
using ansi escape codes
134134
"""
135-
module, obj, line = location[1:]
135+
module, obj, line, _ = location[1:]
136136
if module not in self._modules:
137137
color, style = self._get_decoration('S')
138138
if module:
@@ -153,4 +153,3 @@ def add_message(self, msg_id, location, msg):
153153
msg = colorize_ansi(msg, color, style)
154154
sigle = colorize_ansi(sigle, color, style)
155155
self.writeln('%s:%3s%s: %s' % (sigle, line, obj, msg))
156-

test/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def reset(self):
7070

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

0 commit comments

Comments
 (0)