fix issue407: fix addoption docstring to point to argparse instead of
optparse. Thanks Daniel D. Wright.
This commit is contained in:
parent
41bddb48a1
commit
5a13f31bce
|
@ -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
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#
|
#
|
||||||
__version__ = '2.5.0'
|
__version__ = '2.5.1'
|
||||||
|
|
|
@ -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
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -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'],
|
||||||
|
|
Loading…
Reference in New Issue