Sylvain Thénault avatar Sylvain Thénault committed f5b36af

closes #69950: Tests failing due to 'column offset' changes in 744

Comments (0)

Files changed (2)

reporters/text.py

         """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:
         msg = colorize_ansi(msg, color, style)
         sigle = colorize_ansi(sigle, color, style)
         self.writeln('%s:%3s%s: %s' % (sigle, line, obj, msg))
-
         
     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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.