Friday, November 16, 2012

Quick look into Python default modules

Have you ever seen code in Python default modules, let's take a look:

First, find out where are they with "locate" command:

hvn@lappy: / $ locate subprocess
/usr/lib/python2.7/subprocess.py
/usr/lib/python2.7/subprocess.pyc

we've locate subprocess module, which has a name specific enough. All python default module are in /usr/lib/python2.7/

Thursday, November 8, 2012

Nose – Fix nosetests finding 0 tests

 nosetests
Ran 0 tests in 0.000s

Just recheck, your test file  must have "test" in filename