nose-devs/nose — Issue #416: selftest without install (better developer documentation)
Author: jpellerin
Created: 2011-12-14 16:10:50+00:00
State: closed

What steps will reproduce the problem?
1. Try to test nose without installing it first.

What is the expected output?
Ran 336 tests in 4.563s

OK (SKIP=4)

What do you see instead?
Traceback (most recent call last):
File "selftest.py", line 51, in
assert len(distributions) == 1
AssertionError

What version of the product are you using?

> hg parents
changeset: 786:5aff24d4331d
tag: tip
user: kumar
date: Tue Apr 19 15:36:38 2011 -0500
summary: Skipping pickle test because it gets stuck in an infinite loop (see Issue 399)

On what operating system?

> lsb_release -a
LSB Version: :core-3.0-amd64:core-3.0-ia32:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
Release: 4
Codename: NahantUpdate8

I've attached a patch that makes it "work for me", but I completely uncertain if it's the right way to do it.

The patch also includes usability fixes for the test.sh, which I think should be uncontroversial.

Google Code Info:
Issue #: 413
Author: workitha...@gmail.com
Created On: 2011-04-25T17:10:28.000Z
Closed On: 2011-04-25T19:10:42.000Z