Changeset [4de50c21fe22473314565fd02b75ccc21b0daecb] by Shayan Pooya
February 10th, 2014 @ 09:13 AM
Remove the KeyboardInterrupt from the parents of InterruptTest.
In the source code of python in Lib/unittest/case.py, before
handling
the SkipTest exception, the KeyboardInterrupt exception is handled
and
if we find the latter exception, it will be raised and the test is
not
skipped. I did not find any reasons for this hierarchy and have
dropped it.
With this commit, the test_sigint passes and we are now able to
skip
tests with ctrl+c.
https://github.com/discoproject/disco/commit/4de50c21fe22473314565f...
Committed by Shayan Pooya
- M lib/disco/test.py
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Disco is an open-source implementation of the Map-Reduce framework for distributed computing. As the original framework, Disco supports parallel computations over large data sets on unreliable cluster of computers.