Sideloader性能优化:多线程签名与内存管理的技术实现
2026/6/10 4:31:59
nose是一个具有强大发现功能的测试运行器,可使用easy_install进行安装:
$ easy_install nose安装过程中会搜索相关资源并处理依赖:
Searching for nose Reading http://pypi.python.org/simple/nose/ Reading http://somethingaboutorange.com/mrl/projects/nose/ ... Processing dependencies for nose Finished processing dependencies for nose安装完成后,会出现nosetests命令,可直接使用该命令运行测试。例如:
$ nosetests -v test_average (test_utils.MyTests) ... ok test_another_test (test_utils.MyTests2) ... ok builds the test suite. ... ok ---------------------------------