address issue170 by merging David Mohr's PR on adding "raises" as an optional
argument to pytest.mark.xfail.
This commit is contained in:
parent
38104dfc92
commit
c2ed29070a
1
AUTHORS
1
AUTHORS
|
@ -43,3 +43,4 @@ Christopher Gilling
|
||||||
Daniel Grana
|
Daniel Grana
|
||||||
Andy Freeland
|
Andy Freeland
|
||||||
Trevor Bekolay
|
Trevor Bekolay
|
||||||
|
David Mohr
|
||||||
|
|
11
CHANGELOG
11
CHANGELOG
|
@ -1,4 +1,13 @@
|
||||||
NEXT (2.6)
|
NEXT
|
||||||
|
-----------------------------------
|
||||||
|
|
||||||
|
- address issue170: allow pytest.mark.xfail(...) to specify expected exceptions via
|
||||||
|
an optional "raises=EXC" argument where EXC can be a single exception
|
||||||
|
or a tuple of exception classes. Thanks David Mohr for the complete
|
||||||
|
PR.
|
||||||
|
|
||||||
|
|
||||||
|
2.6
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
- Cache exceptions from fixtures according to their scope (issue 467).
|
- Cache exceptions from fixtures according to their scope (issue 467).
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#
|
#
|
||||||
__version__ = '2.6.0'
|
__version__ = '2.6.1.dev1'
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -27,7 +27,7 @@ def main():
|
||||||
name='pytest',
|
name='pytest',
|
||||||
description='pytest: simple powerful testing with Python',
|
description='pytest: simple powerful testing with Python',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
version='2.6.0',
|
version='2.6.1.dev1',
|
||||||
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