忽略docstring以命名nose中的测试。

nose-ignore-docstring的Python项目详细描述


这是一个鼻子插件。如果这个插件是活动的,nose不使用 命名测试的docstrings。

安装

您可以使用以下命令安装或升级nose-ignore-docstring

$ pip install nose-ignore-docstring
$ pip install --upgrade nose-ignore-docstring

用法

--with-ignore-docstrings选项传递给nosetests

$ nosetests --with-ignore-docstrings -v
...

或者在setup.cfg中定义以下条目:

[nosetests]
with-ignore-docstrings=1

更改

0.1-2013-04-17

  • 首次发布

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java GridBagLayout不填充区域   java Memozied Fibonacci未运行与常规Fibonacci解决方案   Java Web启动未启动问题   Java中异常和if-then的区别   java从命令提示符运行批处理文件获取错误   socket在Java中验证SSL证书的公共名称   如何在JAVA中检查字符串数组中的相等字   用java语言将音频文件转换成文本文件的语音识别   java为什么foo(1,2,3)没有传递给varargs方法foo(对象…)作为整数[]   java通过蓝牙将奇怪的数据从Arduino传输到Android   java ContainerRequestFilter获取空entitystream   java如何从安卓 studio中删除不兼容类型错误   基本Java错误   在Spring引导中使用REST API时发生java错误   javascript通过从SQL查询派生的URL打开页面