Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
In compilation-mode, how can I make the default py.test output have clickable links to source code (when using py.test's default formatting of tracebacks)?
Does somebody already have appropriate compilation-error-regexp-alist-alist entries?
Running py.test should automatically do it. Go to any directory or python file, run M-x compile RET py.test RET, you will get colorized output and traceback with hyperlinks like this.
M-x compile RET py.test RET
It is better to use elpy as it provides better integration with test runners.
Required, but never shown
2 years, 4 months ago
2 years, 3 months ago