diff --git a/CHANGELOG b/CHANGELOG index 0ed06fc2f..f2c4551c4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,9 @@ +Changes between 2.0.2 and 2.0.3.dev +---------------------------------------------- + +- speed up skips (by not doing a full traceback represenation + internally) + Changes between 2.0.1 and 2.0.2 ---------------------------------------------- diff --git a/_pytest/runner.py b/_pytest/runner.py index 08cdc96f3..4deb8685b 100644 --- a/_pytest/runner.py +++ b/_pytest/runner.py @@ -153,7 +153,7 @@ def pytest_runtest_makereport(item, call): longrepr = excinfo elif excinfo.errisinstance(py.test.skip.Exception): outcome = "skipped" - r = item._repr_failure_py(excinfo, "line").reprcrash + r = excinfo._getreprcrash() longrepr = (str(r.path), r.lineno, r.message) else: outcome = "failed" diff --git a/pytest.py b/pytest.py index a56501d73..a7b9cce02 100644 --- a/pytest.py +++ b/pytest.py @@ -1,7 +1,7 @@ """ unit and functional testing with Python. """ -__version__ = '2.0.2' +__version__ = '2.0.3.dev0' __all__ = ['main'] from _pytest.core import main, UsageError, _preloadplugins diff --git a/setup.py b/setup.py index b543afe45..dcf94b75b 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ def main(): name='pytest', description='py.test: simple powerful testing with Python', long_description = long_description, - version='2.0.2', + version='2.0.3.dev0', url='http://pytest.org', license='MIT license', platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'], @@ -67,4 +67,4 @@ def make_entry_points(): return {'console_scripts': l} if __name__ == '__main__': - main() \ No newline at end of file + main()