d83bf93154 
								
							 
						 
						
							
							
								
								less imports at function level, add a CHANGELOG entry - i guess  
							
							... 
							
							
							
							there are not many win32/python2.4 users anymore these days.
--HG--
branch : trunk 
							
						 
						
							2010-06-09 12:07:12 +02:00  
				
					
						
							
							
								 
						
							
								4437ecb385 
								
							 
						 
						
							
							
								
								make terminal tests pass on win32/python2.4 and update tox.ini  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-06-09 12:01:13 +02:00  
				
					
						
							
							
								 
						
							
								64388832d9 
								
							 
						 
						
							
							
								
								introduce a new request.applymarker() function and refactor  
							
							... 
							
							
							
							internally to allow for dynamically adding keywords to test
items.
--HG--
branch : trunk 
							
						 
						
							2010-06-08 02:34:51 +02:00  
				
					
						
							
							
								 
						
							
								804dcd3521 
								
							 
						 
						
							
							
								
								some adjustments to make py.test --basetemp=XYZ work where  
							
							... 
							
							
							
							XYZ is a subdir the checkout which contains a conftest.py
--HG--
branch : trunk 
							
						 
						
							2010-06-07 21:02:26 +02:00  
				
					
						
							
							
								 
						
							
								c1d0fc9aaf 
								
							 
						 
						
							
							
								
								add ignore_errors to local.remove()  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-06-07 20:48:36 +02:00  
				
					
						
							
							
								 
						
							
								10b8de060a 
								
							 
						 
						
							
							
								
								fix py.code.compile to generate unique filenames  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-06-06 19:08:22 +02:00  
				
					
						
							
							
								 
						
							
								bdd1006e06 
								
							 
						 
						
							
							
								
								don't print empty lines with junitxml file printing  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-06-04 00:39:18 +02:00  
				
					
						
							
							
								 
						
							
								f8404be1b2 
								
							 
						 
						
							
							
								
								add a rootdir param to py.path.local.mkdtemp  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-06-03 11:14:32 +02:00  
				
					
						
							
							
								 
						
							
								2e82ca5fde 
								
							 
						 
						
							
							
								
								use tempdir.mkdtmp instead of mktmp + repeated tries for making tmpdirs  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-06-03 10:59:24 +02:00  
				
					
						
							
							
								 
						
							
								a07e494554 
								
							 
						 
						
							
							
								
								add kwarg support to py.errpr.checked_call  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-06-03 10:21:48 +02:00  
				
					
						
							
							
								 
						
							
								75d80ca183 
								
							 
						 
						
							
							
								
								fix pyimport() bug on directories  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-31 17:06:46 +02:00  
				
					
						
							
							
								 
						
							
								b66b5e2715 
								
							 
						 
						
							
							
								
								fix issue 57 - make --looponfail work with xpassing tests  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-26 18:55:50 +02:00  
				
					
						
							
							
								 
						
							
								ff2b893d31 
								
							 
						 
						
							
							
								
								fix for py3 exception printing logic  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-25 17:24:24 +02:00  
				
					
						
							
							
								 
						
							
								c953c7d313 
								
							 
						 
						
							
							
								
								fix issue102 by introducing a --maxfailures=NUM option  
							
							... 
							
							
							
							also print an informative line about "stopped/interrupted" test runs
near the end.
--HG--
branch : trunk 
							
						 
						
							2010-05-25 16:52:09 +02:00  
				
					
						
							
							
								 
						
							
								9173b60677 
								
							 
						 
						
							
							
								
								internal test runs: do inline_run() without io-capturing  
							
							... 
							
							
							
							as this nested capturing can leave open FDs which breaks
larger test runs.  also introduce an internal option "--lsof"
for checking the number of file descriptors
--HG--
branch : trunk 
							
						 
						
							2010-05-25 12:24:51 +02:00  
				
					
						
							
							
								 
						
							
								545aab85f2 
								
							 
						 
						
							
							
								
								py-1.3.1 release prep and version bumping  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-22 17:11:30 +02:00  
				
					
						
							
							
								 
						
							
								fa074da5a9 
								
							 
						 
						
							
							
								
								when --runxfail is supplied also show tracebacks when running a test that  
							
							... 
							
							
							
							calls py.test.xfail
--HG--
branch : trunk 
							
						 
						
							2010-05-22 17:08:49 +02:00  
				
					
						
							
							
								 
						
							
								29a5b7452e 
								
							 
						 
						
							
							
								
								* improve and test --tb=short reporting  
							
							... 
							
							
							
							* show --tb=short tracebacks for importing test modules
--HG--
branch : trunk 
							
						 
						
							2010-05-22 16:18:24 +02:00  
				
					
						
							
							
								 
						
							
								93712a3ce6 
								
							 
						 
						
							
							
								
								terser reporting header  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-22 13:59:01 +02:00  
				
					
						
							
							
								 
						
							
								6f697294b2 
								
							 
						 
						
							
							
								
								fix for python3 - class.__dict__ is now a dict_proxy which doesn't have setdefault() anymore.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-22 10:12:57 +02:00  
				
					
						
							
							
								 
						
							
								7cba3a07af 
								
							 
						 
						
							
							
								
								update docs: mention that py.test.xfail is there  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-21 18:16:16 +02:00  
				
					
						
							
							
								 
						
							
								4f7ef0b63f 
								
							 
						 
						
							
							
								
								fix issue89 - allow py.test.mark decorators to be used with classes  
							
							... 
							
							
							
							(if you are using >=python2.6)
also allow to have multiple markers applied at class level
and test and fix a bug with chained skip/xfail decorators:
if any of the conditions is true a test will be skipped/xfailed
with a explanation which condition evaluated to true.
--HG--
branch : trunk 
							
						 
						
							2010-05-21 18:11:47 +02:00  
				
					
						
							
							
								 
						
							
								578cba20d4 
								
							 
						 
						
							
							
								
								fix issue94 make reporting more robust against bogus source code  
							
							... 
							
							
							
							(and internally be more careful when presenting unexpected byte sequences)
also make py.code.Source accept a list of lines directly.
--HG--
branch : trunk 
							
						 
						
							2010-05-21 16:42:46 +02:00  
				
					
						
							
							
								 
						
							
								93f91c9607 
								
							 
						 
						
							
							
								
								unify handling of reportcharacters across resultlog/junitxml plugins  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-20 14:35:13 +02:00  
				
					
						
							
							
								 
						
							
								925f75088d 
								
							 
						 
						
							
							
								
								fix issue91 introduce new py.test.xfail(reason) helper  
							
							... 
							
							
							
							to imperatively mark a test as expected to fail. Can
be used from within setup and test functions. This is
useful especially for parametrized tests when certain
configurations are expected-to-fail.  In this case the
declarative approach with the @py.test.mark.xfail cannot
be used as it would mark all configurations as xfail.
--HG--
branch : trunk 
							
						 
						
							2010-05-20 13:29:51 +02:00  
				
					
						
							
							
								 
						
							
								20424a9c76 
								
							 
						 
						
							
							
								
								fix and test "-rP" option to show xpass-test ids  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-19 16:52:03 +02:00  
				
					
						
							
							
								 
						
							
								2229d2d947 
								
							 
						 
						
							
							
								
								revert 1735 - fix issue95 differently: just shift the offending zlib  
							
							... 
							
							
							
							import (and others) to happen when they are actually needed
--HG--
branch : trunk 
							
						 
						
							2010-05-19 16:42:22 +02:00  
				
					
						
							
							
								 
						
							
								c3bd29b490 
								
							 
						 
						
							
							
								
								fix issue95 - treat a failing pytest_genscript import  
							
							... 
							
							
							
							as non-critical, give a hint.
--HG--
branch : trunk 
							
						 
						
							2010-05-19 16:22:23 +02:00  
				
					
						
							
							
								 
						
							
								f552749de6 
								
							 
						 
						
							
							
								
								a crucial close() to prevent too-many-open-files  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-18 21:25:20 +02:00  
				
					
						
							
							
								 
						
							
								cf255cd643 
								
							 
						 
						
							
							
								
								some special handling of stdin capturing, unification, un-xfail the win32 test  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-18 12:12:34 -07:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								da097c9d67 
								
							 
						 
						
							
							
								
								deal gracefully with invalid file descriptors - don't capture the particular stream  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-18 16:52:56 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								e71685736e 
								
							 
						 
						
							
							
								
								fix issue96 - make capturing more resilient against KeyboardInterrupt  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-17 19:00:39 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								0cebee2d24 
								
							 
						 
						
							
							
								
								bump version to 1.3.1a1 for now  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-12 10:30:34 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								8ba2a98e11 
								
							 
						 
						
							
							
								
								allow to run py.test.cmdline.main() multiple times.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-11 19:56:22 +02:00  
				
					
						
							
							
								 
						
							
								0f5ed3abc7 
								
							 
						 
						
							
							
								
								avoid helper functions showing up in py.test tracebacks  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-11 17:43:56 +02:00  
				
					
						
							
							
								 
						
							
								f266c8f92f 
								
							 
						 
						
							
							
								
								fix init-check to work also on pypy-c (armin around)  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-09 12:27:04 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								c933ada7fb 
								
							 
						 
						
							
							
								
								new --runxfail option to ignore xfail markers on functions  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-04 13:02:27 +02:00  
				
					
						
							
							
								 
						
							
								28150c7486 
								
							 
						 
						
							
							
								
								add unit-tests for xfail and refine xfail handling and reporting  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-04 12:37:56 +02:00  
				
					
						
							
							
								 
						
							
								dd7fd97810 
								
							 
						 
						
							
							
								
								add a terminalreporter.testid method  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-04 12:37:52 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								82d4aae571 
								
							 
						 
						
							
							
								
								some internal fixes regarding the new required hook-finding prefix  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-02 17:10:38 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								45e10f4c48 
								
							 
						 
						
							
							
								
								rename pytest_ignore_collect_path to pytest_ignore_collect before release  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-05-02 15:24:02 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								b3ce06bbf9 
								
							 
						 
						
							
							
								
								add close method to DontReadFromInput so multiprocessing can close it  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-04-29 19:46:43 +02:00