fix issue407: fix addoption docstring to point to argparse instead of

optparse. Thanks Daniel D. Wright.
This commit is contained in:
holger krekel 2013-12-16 18:07:05 +01:00
parent 41bddb48a1
commit 5a13f31bce
4 changed files with 8 additions and 4 deletions

View File

@ -12,6 +12,10 @@ Unreleased
- fix issue404 by always using the binary xml escape in the junitxml
plugin. Thanks Ronny Pfannschmidt.
- fix issue407: fix addoption docstring to point to argparse instead of
optparse. Thanks Daniel D. Wright.
2.5.0
-----------------------------------

View File

@ -1,2 +1,2 @@
#
__version__ = '2.5.0'
__version__ = '2.5.1'

View File

@ -128,8 +128,8 @@ class Parser:
:opts: option names, can be short or long options.
:attrs: same attributes which the ``add_option()`` function of the
`optparse library
<http://docs.python.org/library/optparse.html#module-optparse>`_
`argparse library
<http://docs.python.org/2/library/argparse.html>`_
accepts.
After command line parsing options are available on the pytest config

View File

@ -27,7 +27,7 @@ def main():
name='pytest',
description='py.test: simple powerful testing with Python',
long_description = long_description,
version='2.5.0',
version='2.5.1',
url='http://pytest.org',
license='MIT license',
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],