Commits

Ronny Pfannschmidt committed ffa881a

include filename in reportinfo

  • Participants
  • Parent commits 78f7abc

Comments (0)

Files changed (2)

+* include filename in reportinfo

codecheckers/plugin.py

         return super(PyCodeCheckItem, self).repr_failure(excinfo)
 
     def reportinfo(self):
-        return (self.fspath, -1, "codecheck " + self._ep.name)
+        info = "%s: %s codecheck" % (self.filename, self._ep.name)
+        return self.fspath, None, info
 
 
 class PyCheckerCollector(py.test.collect.File):