Skip to content

Commit 984bf51

Browse files
committed
MERGE trunk r10:r196 into 0.10-dev branch: some tests now fail
1 parent ccb4cd7 commit 984bf51

39 files changed

Lines changed: 9024 additions & 333 deletions

‎CHANGELOG‎

Lines changed: 48 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,59 @@
1+
0.9.3
2+
3+
- Added support for user configuration files. Thanks to Antoine Pitrou for the
4+
patch.
5+
- Fixed bug that caused profiler plugin to leak 0-byte temp files. Thanks to
6+
Antoine Pitrou for the patch.
7+
- Made usage of temp files in profiler plugin more sensible. Thanks to Michael
8+
Sclenker for the bug report.
9+
- Fixed bug that stopped loading of twisted TestCase tests. Thanks to Kumar
10+
McMillan for the bug report.
11+
- Corrected man page location. Thanks to luke macken for the bug report and
12+
patch.
13+
- Added with_setup to nose.tools.__all__. Thanks to Allen Bierbaum for the bug
14+
report.
15+
- Altered plugin loading so that builtin plugins can be loaded without
16+
setuptools. Thanks to Allen Bierbaum for the suggestion.
17+
- Fixed a bug in the doctests plugin that caused an error when multiple
18+
exclude arguments were specified. Thanks to mbeachy for the bug report and
19+
patch.
20+
121
0.9.2
222

23+
- Added nosetests setuptools command. Now you can run python setup.py
24+
nosetests and have access to all nose features and plugins. Thanks to James
25+
Casbon for the patch.
326
- Added make_decorator function to nose.tools. Used to construct decorator
427
functions that are well-behaved and preserve as much of the original
528
function's metadata as possible. Thanks to Antoine Pitrou for the patch.
629
- Added nose.twistedtools, contributed by Antoine Pitrou. This module adds
730
@deferred decorator that makes it simple to write deferred tests, with or
831
without timeouts.
9-
- Added nosetests setuptools command. Now you can run python setup.py
10-
nosetests and have access to all nose features and plugins. Thanks to James
11-
Casbon for the patch.
32+
- Added monkeypatch to doctests that keeps doctest from stepping on coverage
33+
when the two plugins are used together. Thanks to David Avraamides for the
34+
bug report.
35+
- Added isolation plugin. Use this plugin to automatically restore sys.modules
36+
after each test module or package. Thanks to Michal Kwiatkowski for the
37+
feature request.
38+
- Fixed bug where -vvvv turned off verbose logging instead of making it even
39+
more verbose. Thanks to Ian Bicking for the bug report.
40+
- Fixed bug where assert inspection would fail when the trailing """ of a
41+
docstring was one of the inspected lines. Thanks to cito at online dot de
42+
for the bug report.
43+
- Updated attrib plugin to allow selection of test methods by attributes of
44+
the test case class. Thanks to Jason Hildebrand for the patch.
45+
- Improved compatibility with python 2.2. Thanks to Chad Whitacre for the
46+
patch.
47+
- Fixed bug in handling of options from setup.cfg. Thanks to Kumar McMillan for
48+
the patch.
49+
- Fixed bug in generator methods, where a generator method using an inline
50+
funciton would result in an AttributeError. Thanks to Antoine Pitrou for the
51+
bug report.
52+
- Updated coverage plugin to ignore lines tagged with #pragma: no cover,
53+
matching the behavior of coverage.py on the command line. Thanks to Bill
54+
Zingler for the bug report.
55+
- Added a man page for nosetests. Thanks to Gustavo Noronha Silva for the
56+
request and providing an example.
1257

1358
0.9.1
1459

‎MANIFEST.in‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ include unit_tests/*/*/*/*/*.py
77
include CHANGELOG
88
include NEWS
99
include README.txt
10-
include lgpl.txt
10+
include lgpl.txt
11+
include nosetests.1

‎NEWS‎

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
New in version 0.9.1
1+
New in version 0.9.3
22
--------------------
33

4-
Nose 0.9.1 is mainly a bug-fix release, but it does contain a few new
5-
features.
4+
nose 0.9.3 is mainly a bugfix release. The one new feature is support for user
5+
configuration files: now you can put your frequently used configuration
6+
options in .noserc or nose.cfg files, rather than typing them over and over
7+
and over again. Many thanks to Antoine Pitrou for that patch, and thanks to
8+
all of the other users who reported bugs and submitted patches and
9+
suggestions.
610

7-
* The --where (-w), --include and --exclude arguments may now all appear
8-
multiple times in a single command line, allowing easier running of
9-
multiple test suites and test suites with more diverse layouts.
10-
* For programmatic use, nose.runmodule() was added. Similar to
11-
doctest.runmodule() and unittest.main(), nose.runmodule() will load and run
12-
tests in the current module, which defaults to __main__.
13-
* A number of changes to plugins and plugin hooks make current plugins work
14-
better and allow more interesting plugins to be written.
11+
Barring catastrophic bugs, this will be the last release of nose in the 0.9
12+
series. An alpha release of nose 0.10 should be forthcoming within a few
13+
weeks. Details about the new features and architecture changes in nose 0.10
14+
may be found here_.
1515

16-
Just about everything in this release was driven by requests from
17-
users. Thanks to the many folks who filed bug reports and suggested features,
18-
ideas and solutions to thorny problems.
19-
16+
.. _here: http://code.google.com/p/python-nose/wiki/VersionZeroTen

‎README.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ understand and hack. Other goals include:
3030
interact with tests more easily.
3131

3232
This involves some major changes to how nose loads and runs tests.
33-
33+
3434
Changes to loading
3535
==================
3636

‎index.html.tpl‎

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@
125125
margin-bottom: 0px;
126126
}
127127

128+
p.note {
129+
background: #fed;
130+
border: 1px solid black;
131+
padding: 6px;
132+
}
128133
</style>
129134
</head>
130135
<body>
@@ -157,11 +162,11 @@
157162
<p>Sign up to receive email announcements
158163
of new releases</p>
159164

160-
<h2><a href="http://nose.python-hosting.com/">Trac</a></h2>
165+
<h2><a href="http://code.google.com/p/python-nose/">Tracker</a></h2>
161166
<p>Report bugs, request features, wik the wiki, browse source.</p>
162167

163168
<h2>Get the code</h2>
164-
<p><tt>svn co http://svn.nose.python-hosting.com/trunk</tt></p>
169+
<p><tt>svn co http://python-nose.googlecode.com/svn/trunk/ nose</tt></p>
165170

166171
<h2>Other links</h2>
167172
<ul>
@@ -191,6 +196,11 @@
191196

192197
<h2>Install</h2>
193198

199+
<p class="note">
200+
On most UNIX-like systems, you'll probably need to run these commands
201+
as root or using sudo.
202+
</p>
203+
194204
<p>Install nose using setuptools:
195205
<pre>easy_install nose</pre>
196206
</p>
@@ -201,14 +211,27 @@
201211

202212
<pre>python setup.py install</pre>
203213
</p>
204-
205-
%(body)s
206214

207-
<h2><a name="tools"></a>nose.tools</h2>
215+
<p>If you have an older version of setuptools installed, you may see an
216+
error like this:
217+
218+
<blockquote>
219+
<tt>The required version of setuptools (>=0.6c5) is not available, and
220+
can't be installed while this script is running. Please install
221+
a more recent version first.</tt>
222+
</blockquote>
223+
224+
In that case, you'll need to update your setuptools install first,
225+
either by running:
226+
227+
<pre>easy_install -U setuptools</pre>
208228

209-
%(tools)s
229+
or:
210230

211-
<p><b>FIXME:</b> use pudge to generate rst docs for all tools funcs</p>
231+
<pre>python ez_setup.py</pre>
232+
</p>
233+
234+
%(body)s
212235

213236
<h2><a name="commands"></a>nosetests setuptools command</h2>
214237

@@ -221,15 +244,15 @@
221244
<h2>Bug reports</h2>
222245

223246
<p>Please report bugs and make feature
224-
requests <a href="http://nose.python-hosting.com">here</a>.</p>
247+
requests <a href="http://code.google.com/p/python-nose/">here</a>.</p>
225248

226249
<h2>Hack</h2>
227250

228-
<p><a href="http://nose.python-hosting.com/wiki/WritingPlugins">Write
251+
<p><a href="http://code.google.com/p/python-nose/wiki/WritingPlugins">Write
229252
plugins!</a> It's easy and fun.</p>
230253

231254
<p>Get the code:
232-
<pre>svn co http://svn.nose.python-hosting.com/trunk</pre>
255+
<pre>svn checkout http://python-nose.googlecode.com/svn/trunk/ nose</pre>
233256
</p>
234257

235258
<p><a href="mailto:jpellerin+nose@gmail.com">Patches are
@@ -239,8 +262,7 @@
239262
tree easily.
240263
</p>
241264

242-
<p>Thanks to the great folks at python hosting for providing the
243-
subversion repository and trac instance.</p>
265+
<p>Thanks to Google for providing the Google code hosting service.</p>
244266

245267
<h2><a name="changelog"></a>Changelog</h2>
246268
%(changelog)s

0 commit comments

Comments
 (0)