Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow iptest to be interrupted #2442

Merged
merged 1 commit into from Sep 28, 2012
Merged

allow iptest to be interrupted #2442

merged 1 commit into from Sep 28, 2012

Conversation

minrk
Copy link
Member

@minrk minrk commented Sep 27, 2012

Previously ^C would register as a regular test failure and the test suite would continue, in which case interrupting iptest meant hitting ^C nine times.

This change makes iptest take notice of sigint in a test runner, and aborts the run.

Previously `^C` would register as a regular test failure, and the test suite would continue, in which case halting `iptest` meant hitting `^C` nine times.

This change makes iptest take notice of sigint in a test runner, and aborts the run.
@bfroehle
Copy link
Contributor

Oooh yes! A great improvement.

Works as claimed for me in Ubuntu 12.04 / Python 2.7.3.

@Carreau
Copy link
Member

Carreau commented Sep 28, 2012

cool, merging.

Carreau added a commit that referenced this pull request Sep 28, 2012
allow iptest to be interrupted
@Carreau Carreau merged commit 974c2c0 into ipython:master Sep 28, 2012
@takluyver
Copy link
Member

Thanks, that's a minor annoyance I've met quite often as well.

@minrk minrk deleted the signithalt branch March 31, 2014 23:36
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants