Pull requests

#3 Merged
Repository
danmil
Branch
default
Repository
durin42
Branch
default

Get next-error to work in *nosetests* buffer.

Author
  1. Dan Milstein
Reviewers
Description

The nosetests buffer doesn't set up the error-regexp in any special way, so, in case of error, all the lines in the stack trace are matching (at least on Aquamacs 2.5 / Emacs 23.4.1). Which makes next-error useless - it jumps you to somewhere very deep in the stack trace.

This adjusts the error regexp to attempt to only match the actual test methods, which is a resonable place to jump to.

  • Learn about pull requests

Comments (0)