nose-devs/nose — Issue #222: Honour the .env attribute of nose.plugins.plugintest.PluginTester
Author: jpellerin
Created: 2011-12-14 16:04:12+00:00
State: closed

What steps will reproduce the problem?
1. Run test in attached patch

What is the expected output? What do you see instead?

Expected: attached test passes
Got: attached test fails

What version of the product are you using? On what operating system?

http://python-nose.googlecode.com/svn/branches/0.10.0-stable revision 331,
Ubuntu Linux.

Please provide any additional information below.

Seems your other fix fixed the os.environ leak, but .env was always ignored
(also the case for nose.plugins.doctests.run(), which the patch also
fixes). Since it was always ignored, I also fixed the magical PluginTester
env = {} case. Also, post-patch, nose.plugins.doctests.run() works just
the same as nose.core.run(), so we still have (non-foolish) consistency too :-)

Google Code Info:
Issue #: 97
Author: j...@pobox.com
Created On: 2007-09-19T23:35:24.000Z
Closed On: 2007-09-21T16:36:38.000Z