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
This commit is contained in:
		
							parent
							
								
									b8277bfed8
								
							
						
					
					
						commit
						bcb8dc71d2
					
				|  | @ -1,6 +1,9 @@ | ||||||
| Changes between 2.3.1 and 2.3.2.dev | 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 | - fix issue205 - conftests in subdirs customizing | ||||||
|   pytest_pycollect_makemodule and pytest_pycollect_makeitem |   pytest_pycollect_makemodule and pytest_pycollect_makeitem | ||||||
|   now work properly |   now work properly | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								setup.py
								
								
								
								
							
							
						
						
									
										2
									
								
								setup.py
								
								
								
								
							|  | @ -33,7 +33,7 @@ def main(): | ||||||
|         entry_points= make_entry_points(), |         entry_points= make_entry_points(), | ||||||
|         cmdclass = {'test': PyTest}, |         cmdclass = {'test': PyTest}, | ||||||
|         # the following should be enabled for release |         # 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', |         classifiers=['Development Status :: 6 - Mature', | ||||||
|                      'Intended Audience :: Developers', |                      'Intended Audience :: Developers', | ||||||
|                      'License :: OSI Approved :: MIT License', |                      'License :: OSI Approved :: MIT License', | ||||||
|  |  | ||||||
							
								
								
									
										4
									
								
								tox.ini
								
								
								
								
							
							
						
						
									
										4
									
								
								tox.ini
								
								
								
								
							|  | @ -4,7 +4,7 @@ envlist=py26,py27,py27-nobyte,py31,py32,py33,py27-xdist,py25,trial | ||||||
| indexserver= | indexserver= | ||||||
|     pypi = http://pypi.python.org/simple |     pypi = http://pypi.python.org/simple | ||||||
|     testrun = http://pypi.testrun.org |     testrun = http://pypi.testrun.org | ||||||
|     #default = http://pypi.testrun.org |     default = http://pypi.testrun.org | ||||||
| 
 | 
 | ||||||
| [testenv] | [testenv] | ||||||
| changedir=testing | changedir=testing | ||||||
|  | @ -84,7 +84,7 @@ deps=py>=1.4.0 | ||||||
| 
 | 
 | ||||||
| [testenv:py33] | [testenv:py33] | ||||||
| deps=py>=1.4.0 | deps=py>=1.4.0 | ||||||
|      nose |      :pypi:nose | ||||||
| 
 | 
 | ||||||
| [testenv:jython] | [testenv:jython] | ||||||
| changedir=testing | changedir=testing | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue