Added a note about grabbing the stdlib unit tests to the docs.

This commit is contained in:
Ryan Williams
2010-03-22 11:13:10 -07:00
parent abdec5657e
commit 7f3f371534

View File

@@ -47,6 +47,8 @@ There's a convenience module called all.py designed to handle the impedance mism
That will run all the tests, though the output will be a little weird because it will look like Nose is running about 20 tests, each of which consists of a bunch of sub-tests. Not all test modules are present in all versions of Python, so there will be an occasional printout of "Not importing %s, it doesn't exist in this installation/version of Python".
If you see "Ran 0 tests in 0.001s", it means that your Python installation lacks its own tests. This is usually the case for Linux distributions. One way to get the missing tests is to download a source tarball (of the same version you have installed on your system!) and copy its Lib/test directory into the correct place on your PYTHONPATH.
Testing Eventlet Hubs
---------------------
@@ -89,4 +91,4 @@ The html option is quite useful because it generates nicely-formatted HTML that
coverage html -d cover --omit='tempmod,<console>,tests'
(``tempmod`` and ``console`` are omitted because they gets thrown away at the completion of their unit tests and coverage.py isn't smart enough to detect this.)
(``tempmod`` and ``console`` are omitted because they gets thrown away at the completion of their unit tests and coverage.py isn't smart enough to detect this.)