[py-svn] commit/pytest: hpk42: fix issue208 and fix issue29 - avoid long pauses in traceback printing
Bitbucket
commits-noreply at bitbucket.org
Thu Oct 25 12:08:23 CEST 2012
1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/changeset/44a7f54ec1ea/
changeset: 44a7f54ec1ea
user: hpk42
date: 2012-10-25 12:08:11
summary: fix issue208 and fix issue29 - avoid long pauses in traceback printing
by using the new getstatementrange() code of the py lib which uses
AST-parsing rather than the previous heuristic which had O(n^2) complexity
(with n = len(sourcelines))
- require new (in-dev) py version to
affected #: 3 files
diff -r 415781a6d022b09b081e63ce40b80ca270596e21 -r 44a7f54ec1ea7a15d6afd96bd9fa5f1fa6e698e6 CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,9 @@
Changes between 2.3.1 and 2.3.2.dev
-----------------------------------
+- fix issue208 and fix issue29 use new py version to avoid long pauses
+ when printing tracebacks in long modules
+
- fix issue205 - conftests in subdirs customizing
pytest_pycollect_makemodule and pytest_pycollect_makeitem
now work properly
diff -r 415781a6d022b09b081e63ce40b80ca270596e21 -r 44a7f54ec1ea7a15d6afd96bd9fa5f1fa6e698e6 setup.py
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@
entry_points= make_entry_points(),
cmdclass = {'test': PyTest},
# the following should be enabled for release
- install_requires=['py>=1.4.10'],
+ install_requires=['py>=1.4.11.dev6'],
classifiers=['Development Status :: 6 - Mature',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
diff -r 415781a6d022b09b081e63ce40b80ca270596e21 -r 44a7f54ec1ea7a15d6afd96bd9fa5f1fa6e698e6 tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,7 @@
indexserver=
pypi = http://pypi.python.org/simple
testrun = http://pypi.testrun.org
- #default = http://pypi.testrun.org
+ default = http://pypi.testrun.org
[testenv]
changedir=testing
@@ -84,7 +84,7 @@
[testenv:py33]
deps=py>=1.4.0
- nose
+ :pypi:nose
[testenv:jython]
changedir=testing
Repository URL: https://bitbucket.org/hpk42/pytest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list