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 - fix issue404 by always using the binary xml escape in the junitxml
plugin. Thanks Ronny Pfannschmidt. plugin. Thanks Ronny Pfannschmidt.
- fix issue407: fix addoption docstring to point to argparse instead of
optparse. Thanks Daniel D. Wright.
2.5.0 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. :opts: option names, can be short or long options.
:attrs: same attributes which the ``add_option()`` function of the :attrs: same attributes which the ``add_option()`` function of the
`optparse library `argparse library
<http://docs.python.org/library/optparse.html#module-optparse>`_ <http://docs.python.org/2/library/argparse.html>`_
accepts. accepts.
After command line parsing options are available on the pytest config After command line parsing options are available on the pytest config

View File

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