bump version, fix -k option help
This commit is contained in:
parent
cac1a48fc7
commit
1c9ef2443f
|
@ -1,3 +1,8 @@
|
||||||
|
Changes between 2.3.4 and 2.3.5dev
|
||||||
|
-----------------------------------
|
||||||
|
|
||||||
|
- fix option help for "-k"
|
||||||
|
|
||||||
Changes between 2.3.3 and 2.3.4
|
Changes between 2.3.3 and 2.3.4
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#
|
#
|
||||||
__version__ = '2.3.4'
|
__version__ = '2.4.5dev1'
|
||||||
|
|
|
@ -8,11 +8,12 @@ def pytest_addoption(parser):
|
||||||
group = parser.getgroup("general")
|
group = parser.getgroup("general")
|
||||||
group._addoption('-k',
|
group._addoption('-k',
|
||||||
action="store", dest="keyword", default='', metavar="KEYWORDEXPR",
|
action="store", dest="keyword", default='', metavar="KEYWORDEXPR",
|
||||||
help="only run tests which match given keyword expression. "
|
help="only run tests which match the given expression. "
|
||||||
"An expression consists of space-separated terms. "
|
"An expression is a python evaluatable expression "
|
||||||
"Each term must match. Precede a term with '-' to negate. "
|
"where all names are substring-matched against test names "
|
||||||
"Terminate expression with ':' to make the first match match "
|
"and keywords. Example: -k 'test_method or test_other' "
|
||||||
"all subsequent tests (usually file-order). ")
|
"matches all test functions whose name contains "
|
||||||
|
"'test_method' or 'test_other'.")
|
||||||
|
|
||||||
group._addoption("-m",
|
group._addoption("-m",
|
||||||
action="store", dest="markexpr", default="", metavar="MARKEXPR",
|
action="store", dest="markexpr", default="", metavar="MARKEXPR",
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -48,7 +48,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.3.4',
|
version='2.4.5dev1',
|
||||||
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