- add release announce
This commit is contained in:
parent
f31dc7a8b7
commit
712898cfe1
|
@ -1,2 +1,2 @@
|
||||||
#
|
#
|
||||||
__version__ = '2.3.5dev6'
|
__version__ = '2.3.5.dev8'
|
||||||
|
|
|
@ -0,0 +1,59 @@
|
||||||
|
pytest-2.3.5: bug fixes
|
||||||
|
===========================================================================
|
||||||
|
|
||||||
|
pytest-2.3.5 is a bug fix release for the pytest testing tool.
|
||||||
|
See the changelog below for details. And
|
||||||
|
|
||||||
|
http://pytest.org/
|
||||||
|
|
||||||
|
for general information. To install or upgrade pytest:
|
||||||
|
|
||||||
|
pip install -U pytest # or
|
||||||
|
easy_install -U pytest
|
||||||
|
|
||||||
|
best,
|
||||||
|
holger krekel
|
||||||
|
|
||||||
|
|
||||||
|
Changes between 2.3.4 and 2.3.5
|
||||||
|
-----------------------------------
|
||||||
|
|
||||||
|
- issue 259 - when assertion rewriting, be consistent with the default
|
||||||
|
source encoding of ASCII on Python 2
|
||||||
|
|
||||||
|
- issue 251 - report a skip instead of ignoring classes with init
|
||||||
|
|
||||||
|
- issue250 unicode/str mixes in parametrization names and values now works
|
||||||
|
|
||||||
|
- issue257, assertion-triggered compilation of source ending in a
|
||||||
|
comment line doesn't blow up in python2.5 (fixed through py>=1.4.13)
|
||||||
|
|
||||||
|
- fix --genscript option to generate standalone scripts that also
|
||||||
|
work with python3.3 (importer ordering)
|
||||||
|
|
||||||
|
- issue171 - in assertion rewriting, show the repr of some
|
||||||
|
global variables
|
||||||
|
|
||||||
|
- fix option help for "-k"
|
||||||
|
|
||||||
|
- move long description of distribution into README.rst
|
||||||
|
|
||||||
|
- improve docstring for metafunc.parametrize()
|
||||||
|
|
||||||
|
- fix bug where using capsys with pytest.set_trace() in a test
|
||||||
|
function would break when looking at capsys.readouterr()
|
||||||
|
|
||||||
|
- allow to specify prefixes starting with "_" when
|
||||||
|
customizing python_functions test discovery. (thanks Graham Horler)
|
||||||
|
|
||||||
|
- improve PYTEST_DEBUG tracing output by puting
|
||||||
|
extra data on a new lines with additional indent
|
||||||
|
|
||||||
|
- ensure OutcomeExceptions like skip/fail have initialized exception attributes
|
||||||
|
|
||||||
|
- issue 260 - don't use nose special setup on plain unittest cases
|
||||||
|
|
||||||
|
- fix issue134 - print the collect errors that prevent running specified test items
|
||||||
|
|
||||||
|
- fix issue266 - accept unicode in MarkEvaluator expressions
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -12,7 +12,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.5.dev7',
|
version='2.3.5.dev8',
|
||||||
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'],
|
||||||
|
|
|
@ -505,6 +505,8 @@ class TestDurations:
|
||||||
source = """
|
source = """
|
||||||
import time
|
import time
|
||||||
frag = 0.02
|
frag = 0.02
|
||||||
|
def test_something():
|
||||||
|
pass
|
||||||
def test_2():
|
def test_2():
|
||||||
time.sleep(frag*5)
|
time.sleep(frag*5)
|
||||||
def test_1():
|
def test_1():
|
||||||
|
|
3
tox.ini
3
tox.ini
|
@ -2,7 +2,7 @@
|
||||||
distshare={homedir}/.tox/distshare
|
distshare={homedir}/.tox/distshare
|
||||||
envlist=py25,py26,py27,py27-nobyte,py32,py33,py27-xdist,trial
|
envlist=py25,py26,py27,py27-nobyte,py32,py33,py27-xdist,trial
|
||||||
indexserver=
|
indexserver=
|
||||||
pypi = http://pypi.python.org/simple
|
pypi = https://pypi.python.org/simple
|
||||||
testrun = http://pypi.testrun.org
|
testrun = http://pypi.testrun.org
|
||||||
default = http://pypi.testrun.org
|
default = http://pypi.testrun.org
|
||||||
|
|
||||||
|
@ -39,7 +39,6 @@ commands=
|
||||||
|
|
||||||
[testenv:trial]
|
[testenv:trial]
|
||||||
changedir=.
|
changedir=.
|
||||||
basepython=python2.6
|
|
||||||
deps=:pypi:twisted
|
deps=:pypi:twisted
|
||||||
:pypi:pexpect
|
:pypi:pexpect
|
||||||
commands=
|
commands=
|
||||||
|
|
Loading…
Reference in New Issue