What does --no-skip do in nose?

2013-12-31 Thread Roy Smith
Environment: Python 2.7.3 nose 1.3.0 Ubuntu 12.04 Linux I'm befuddled about how test skipping, and in particular, --no-skip, is supposed to work in nose. I've got a trivial test file: from nose import SkipTest def test_skip(): raise SkipTest assert 0 If I run this, it skips

Re: What does --no-skip do in nose?

2013-12-31 Thread Chris Angelico
On Wed, Jan 1, 2014 at 4:49 AM, Roy Smith r...@panix.com wrote: from nose import SkipTest def test_skip(): raise SkipTest assert 0 What's confusing is, if I use --no-skip, it STILL skips the test: I don't know nosetests, but I'm fairly sure it's not going to be mangling the Python

Re: What does --no-skip do in nose?

2013-12-31 Thread Ned Batchelder
On 12/31/13 12:49 PM, Roy Smith wrote: Environment: Python 2.7.3 nose 1.3.0 Ubuntu 12.04 Linux I'm befuddled about how test skipping, and in particular, --no-skip, is supposed to work in nose. I've got a trivial test file: from nose import SkipTest def test_skip(): raise