in my python project , all my test cases not import some package the main program imported,but when i run nosetests in the project dir,if my environment has not install some package the main program has imported ,it will occur failed about "No module named XXXX".
why nosetests will check these modules which the main program import whether has be installed?