holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								f552749de6 
								
							 
						 
						
							
							
								
								a crucial close() to prevent too-many-open-files  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-18 21:25:20 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								cf255cd643 
								
							 
						 
						
							
							
								
								some special handling of stdin capturing, unification, un-xfail the win32 test  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-18 12:12:34 -07:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								9f5e6f9761 
								
							 
						 
						
							
							
								
								simplify and unify FDCapture API and usage:  
							
							 
							
							... 
							
							
							
							* FDCapture now takes care through the 'patchsys' option to
  also set sys.stdin/out/err - setfiles/unsetfiles methods removed -
  i doubt anybody uses this outside of py.test's own old usage.
* stdin also goes through FDCapture now.
--HG--
branch : trunk 
							
						 
						
							2010-05-18 20:03:44 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								da097c9d67 
								
							 
						 
						
							
							
								
								deal gracefully with invalid file descriptors - don't capture the particular stream  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-18 16:52:56 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								4f5d7948f7 
								
							 
						 
						
							
							
								
								- try to fix the nightly failures by refining internal capturing mechanism  
							
							 
							
							... 
							
							
							
							and adding tests, including a "lsof" test for making sure the number of
  open file descriptors does not increase.
- also move a py.io related logging test to testing/io
--HG--
branch : trunk 
							
						 
						
							2010-05-18 16:01:58 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								e71685736e 
								
							 
						 
						
							
							
								
								fix issue96 - make capturing more resilient against KeyboardInterrupt  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-17 19:00:39 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								5876736890 
								
							 
						 
						
							
							
								
								tentative fix to py3's dependency on a filename->module->__loader__ chain  
							
							 
							
							... 
							
							
							
							for executing inspect.findsource ...
--HG--
branch : trunk 
							
						 
						
							2010-05-14 23:26:27 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								0cebee2d24 
								
							 
						 
						
							
							
								
								bump version to 1.3.1a1 for now  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-12 10:30:34 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								379390a8aa 
								
							 
						 
						
							
							
								
								remove code.new() function and store lines directly into linecache.cache instead.  
							
							 
							
							... 
							
							
							
							This avoids the need for custom code objects, improving compatibility for jython
and pypy-c.
--HG--
branch : trunk 
							
						 
						
							2010-05-11 22:54:04 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								8ba2a98e11 
								
							 
						 
						
							
							
								
								allow to run py.test.cmdline.main() multiple times.  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-11 19:56:22 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								0f5ed3abc7 
								
							 
						 
						
							
							
								
								avoid helper functions showing up in py.test tracebacks  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-11 17:43:56 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								f266c8f92f 
								
							 
						 
						
							
							
								
								fix init-check to work also on pypy-c (armin around)  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-09 12:27:04 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								ee036223ce 
								
							 
						 
						
							
							
								
								deprecate --report option in favour of a new shorter and easier to remember -r option: this takes a string argument consisting of any combination of 'xsfX'  
							
							 
							
							... 
							
							
							
							Those letters basically correspond to the letters you see during terminal reporting.
--HG--
branch : trunk 
							
						 
						
							2010-05-05 19:50:59 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								c933ada7fb 
								
							 
						 
						
							
							
								
								new --runxfail option to ignore xfail markers on functions  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-04 13:02:27 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								28150c7486 
								
							 
						 
						
							
							
								
								add unit-tests for xfail and refine xfail handling and reporting  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-04 12:37:56 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								dd7fd97810 
								
							 
						 
						
							
							
								
								add a terminalreporter.testid method  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-04 12:37:52 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								1a8b2838fa 
								
							 
						 
						
							
							
								
								add new parameters:  
							
							 
							
							... 
							
							
							
							xfail(run=False) will not run expected-to-fail tests
xfail(reason=True) will report the specified reason
--HG--
branch : trunk 
							
						 
						
							2010-05-02 22:13:16 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								82d4aae571 
								
							 
						 
						
							
							
								
								some internal fixes regarding the new required hook-finding prefix  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-02 17:10:38 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								fd473d4002 
								
							 
						 
						
							
							
								
								refine and test new hook registration, now it is called "pytest_addhooks"  
							
							 
							
							... 
							
							
							
							similar to pytest_addoption and raises on bogus input.
--HG--
branch : trunk 
							
						 
						
							2010-05-02 16:36:53 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								45e10f4c48 
								
							 
						 
						
							
							
								
								rename pytest_ignore_collect_path to pytest_ignore_collect before release  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-02 15:24:02 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								3efb8028fb 
								
							 
						 
						
							
							
								
								update changelog, install info and bum version to 1.3.0  
							
							 
							
							... 
							
							
							
							rather than 1.2.2 because of the added features
--HG--
branch : trunk 
							
						 
						
							2010-05-02 15:06:20 +02:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								b3ce06bbf9 
								
							 
						 
						
							
							
								
								add close method to DontReadFromInput so multiprocessing can close it  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-29 19:46:43 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								962d0fe2be 
								
							 
						 
						
							
							
								
								introduce new pytest_pycollect_makemodule(path, parent) hook for  
							
							 
							
							... 
							
							
							
							allowing customization of the Module collection object for a matching test module.
--HG--
branch : trunk 
							
						 
						
							2010-04-29 16:53:29 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								811408959f 
								
							 
						 
						
							
							
								
								introduce a new pytest_ignore_collect_path(path, config) hook -  
							
							 
							
							... 
							
							
							
							returning a true value will prevent considering the path for collection
The hook is called for both files and directory paths.
--HG--
branch : trunk 
							
						 
						
							2010-04-29 16:20:55 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								25ed74a77a 
								
							 
						 
						
							
							
								
								refine to allow more characters for instance reprs like it was before  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-29 15:52:59 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								5ece3858e4 
								
							 
						 
						
							
							
								
								introduce new py.io.saferepr for printing the 'repr' of an object safely  
							
							 
							
							... 
							
							
							
							and without consuming too much space
--HG--
branch : trunk 
							
						 
						
							2010-04-29 14:17:07 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								5dc66bb4ca 
								
							 
						 
						
							
							
								
								make py.io.ansi_print and py.io.get_terminal_width() directly available.  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-29 10:49:50 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								030548bc73 
								
							 
						 
						
							
							
								
								expose py.code._reinterpret functions so that pypy and internal  
							
							 
							
							... 
							
							
							
							uses don't need to go through internal implementation imports
--HG--
branch : trunk 
							
						 
						
							2010-04-29 01:20:56 +02:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								78d67c007b 
								
							 
						 
						
							
							
								
								be more robust about bad std stream encodings  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-28 17:19:49 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								d93016d85f 
								
							 
						 
						
							
							
								
								remove the unused return value of fnmatch_lines  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-28 17:12:38 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								f2be437daa 
								
							 
						 
						
							
							
								
								some py3 encoding fixes  
							
							 
							
							... 
							
							
							
							Also return True if fnmatch succeeds.
--HG--
branch : trunk 
							
						 
						
							2010-04-28 16:51:36 -05:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								22a50a5b88 
								
							 
						 
						
							
							
								
								* various jython related fixes.  
							
							 
							
							... 
							
							
							
							* more care for print-errors including unicode-encoding related errors.
--HG--
branch : trunk 
							
						 
						
							2010-04-28 15:24:38 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								37cdf17e0e 
								
							 
						 
						
							
							
								
								fix some py3 issues, particularly for 3.1.2 which has truncate(0) not change the file position  
							
							 
							
							... 
							
							
							
							so that a seek(0) is needed in addition.
--HG--
branch : trunk 
							
						 
						
							2010-04-28 13:22:05 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								78d33a2f28 
								
							 
						 
						
							
							
								
								* rather expose internal exceptions under py.test.ACTION.Exception  
							
							 
							
							... 
							
							
							
							with ACTION being skip, fail, exit, raises.
* move and refine test_outcome.py tests into runner tests
--HG--
branch : trunk 
							
						 
						
							2010-04-28 08:42:56 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								d5e463605e 
								
							 
						 
						
							
							
								
								* properly expose and document runtest-protocol related Exceptions  
							
							 
							
							... 
							
							
							
							and move all definitions to the runner plugin for now.
* also move EXIT codes to session.py, obsoleting outcome.py alltogether.
--HG--
branch : trunk 
							
						 
						
							2010-04-27 21:13:09 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								0d0a7b7fec 
								
							 
						 
						
							
							
								
								strike unused (buggy) keyword param  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-27 17:53:07 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								ed7a2d2da3 
								
							 
						 
						
							
							
								
								refine/fix isimportable-logic and ensure that 'tmpdir' has a python-importable name  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-27 16:10:25 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								8131f5bdc0 
								
							 
						 
						
							
							
								
								(fixes issue83) don't try to import conftest from an invalid package path, refine path.pyimport() logic  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-27 15:49:13 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								c8d78177b9 
								
							 
						 
						
							
							
								
								(fixes issue85) correctly write non-ascii test output to junitxml files, refine some internal methods for it  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-27 15:15:43 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								f6a04b92d2 
								
							 
						 
						
							
							
								
								fix unicode issues (port of pypy/py repo changeset r72526 by Armin)  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-27 12:23:13 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								7084313408 
								
							 
						 
						
							
							
								
								factor out session main loop so that distribute testing can make use of it  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-26 17:56:39 +02:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								1771cb0af8 
								
							 
						 
						
							
							
								
								fetch code object compatibly  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-23 20:43:49 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								d1b45ef3d4 
								
							 
						 
						
							
							
								
								add a helper to get a function's code  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-23 20:39:40 -05:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								0b24a70279 
								
							 
						 
						
							
							
								
								this should test and fix the same issue that was committed in  
							
							 
							
							... 
							
							
							
							the pypy svn-repo as r72534
--HG--
branch : trunk 
							
						 
						
							2010-04-23 19:28:41 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								b3a05b545e 
								
							 
						 
						
							
							
								
								another couple of checks on jython, still some problems  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-23 19:05:22 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								221ac3e466 
								
							 
						 
						
							
							
								
								a couple of more mostly jython-related fixes  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-23 13:29:28 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								ff90b1b4fb 
								
							 
						 
						
							
							
								
								fix version numbers  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-22 16:51:42 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								85d35f7418 
								
							 
						 
						
							
							
								
								introduce an experimental approach for allowing dynamic addition of hooks from plugin. Plugins may register new hooks by implementing the new  
							
							 
							
							... 
							
							
							
							pytest_registerhooks(pluginmanager)
and call
    pluginmanager.registerhooks(module)
with the referenced 'module' object containing the hooks.
The new pytest_registerhooks is called after pytest_addoption
and before pytest_configure.
--HG--
branch : trunk 
							
						 
						
							2010-04-22 11:57:57 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								cbb4c0dadc 
								
							 
						 
						
							
							
								
								use taskkill cmdline for jython/win32 but skip test on jython because it does not return a subprocess PID  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-21 06:23:19 -07:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								fe34a8a15a 
								
							 
						 
						
							
							
								
								a couple of more fixes/refinements for getting py.test to run better on jython/win32  
							
							 
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-21 03:50:03 -07:00