holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								5690beab5a 
								
							 
						 
						
							
							
								
								merge Benjamin's assertion-rewrite branch:  all assertion related code is now part of py.test core distribution - the builtin assertion plugin to be precise.  
							
							 
							
							... 
							
							
							
							See doc/assert.txt for details on how what has been improved. 
							
						 
						
							2011-05-31 14:11:53 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								8bc9fdc8d3 
								
							 
						 
						
							
							
								
								fix a buffering issue that i think/hope only occurs during internal tests  
							
							 
							
							
							
						 
						
							2011-05-29 09:21:48 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								5e311d3bfc 
								
							 
						 
						
							
							
								
								fix timing float comparison  
							
							 
							
							
							
						 
						
							2011-05-29 00:45:31 +02:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								5498fe960f 
								
							 
						 
						
							
							
								
								add another normpath in the junitxml tests  
							
							 
							
							
							
						 
						
							2011-05-28 19:00:23 +02:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								4c885cf0d2 
								
							 
						 
						
							
							
								
								hopefully final win32 fix for the junitxml path expansion  
							
							 
							
							
							
						 
						
							2011-05-28 17:36:38 +02:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								70dc7a976d 
								
							 
						 
						
							
							
								
								dont wrap comparisation paths in py.path.local for the junitxml tests, since missing $HOME causes issues else  
							
							 
							
							
							
						 
						
							2011-05-28 16:52:05 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								410438f187 
								
							 
						 
						
							
							
								
								fix issue43 - better tracebacks for unexpected exceptions in doctests  
							
							 
							
							
							
						 
						
							2011-05-28 14:38:15 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								8dc4e732f0 
								
							 
						 
						
							
							
								
								fix issue47 - fix time-per-test timing output for junitxml  
							
							 
							
							
							
						 
						
							2011-05-28 14:03:10 +02:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								56b40ebd75 
								
							 
						 
						
							
							
								
								use os.path.expanduser/expandvars on the junitxml path for convience,  fixes   #44  
							
							 
							
							
							
						 
						
							2011-05-27 07:54:03 +02:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								971f34147a 
								
							 
						 
						
							
							
								
								test that tests get rewritten  
							
							 
							
							
							
						 
						
							2011-05-26 20:06:11 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								7cf8afef47 
								
							 
						 
						
							
							
								
								cause configure hooks to be called  
							
							 
							
							
							
						 
						
							2011-05-26 18:10:49 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								dd199d255c 
								
							 
						 
						
							
							
								
								move _setupstate into session  
							
							 
							
							
							
						 
						
							2011-05-26 17:08:56 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								c4d761fe99 
								
							 
						 
						
							
							
								
								these tests should cause pytest_configure to be called  
							
							 
							
							
							
						 
						
							2011-05-26 16:50:04 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								d438a0bd83 
								
							 
						 
						
							
							
								
								introduce --assertmode option  
							
							 
							
							
							
						 
						
							2011-05-26 14:34:27 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								250160b4b0 
								
							 
						 
						
							
							
								
								refactor explanation formatting things into their own module  
							
							 
							
							
							
						 
						
							2011-05-26 12:01:34 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								f423ce9c01 
								
							 
						 
						
							
							
								
								import assertion code from pylib  
							
							 
							
							
							
						 
						
							2011-05-25 17:54:02 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								491c05cea7 
								
							 
						 
						
							
							
								
								create the _pytest/assertion package  
							
							 
							
							
							
						 
						
							2011-05-25 16:18:45 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								c0910abf2f 
								
							 
						 
						
							
							
								
								account py3 range objects  
							
							 
							
							
							
						 
						
							2011-05-24 18:30:18 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								fa412675fc 
								
							 
						 
						
							
							
								
								use py.builtin.exec_  
							
							 
							
							
							
						 
						
							2011-05-24 18:28:05 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								0bb84abca7 
								
							 
						 
						
							
							
								
								handle comparison results which raise when asked for their truth value  
							
							 
							
							
							
						 
						
							2011-05-24 18:15:08 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								f5decc90ca 
								
							 
						 
						
							
							
								
								test that python loads our fake pycs  
							
							 
							
							
							
						 
						
							2011-05-24 17:52:17 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								76cede83c0 
								
							 
						 
						
							
							
								
								add a way to disable assertion rewriting for a module  
							
							 
							
							
							
						 
						
							2011-05-24 17:30:35 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								9c4f6791e5 
								
							 
						 
						
							
							
								
								give initial imports a reasonable lineno  
							
							 
							
							
							
						 
						
							2011-05-24 17:21:58 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								7ba8fee3dc 
								
							 
						 
						
							
							
								
								improve this test  
							
							 
							
							
							
						 
						
							2011-05-20 09:44:36 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								aae89cd021 
								
							 
						 
						
							
							
								
								correctly handle multiple asserts  
							
							 
							
							
							
						 
						
							2011-05-19 18:56:48 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								9e6dfaefd9 
								
							 
						 
						
							
							
								
								place assertion imports after __future__ statements and docstrings  
							
							 
							
							
							
						 
						
							2011-05-19 16:53:13 -05:00  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								c742e47de0 
								
							 
						 
						
							
							
								
								new assertion debugger which rewrites asserts before they are run  
							
							 
							
							
							
						 
						
							2011-05-18 15:31:10 -05:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								b6815538c5 
								
							 
						 
						
							
							
								
								introduce the pytest_configure_funcargs hook for better control on funcarg instanciation/configuration  
							
							 
							
							
							
						 
						
							2011-05-12 23:47:05 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								942ae47cd1 
								
							 
						 
						
							
							
								
								tentatively use internal list for cleanups at unconfigure time - this helps reporting with partially executed pytest_configure() hooks  
							
							 
							
							
							
						 
						
							2011-04-17 12:20:13 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								06ca7090f9 
								
							 
						 
						
							
							
								
								fix issue38 - nicer tracebacks on sessionstart/configure (and other internal/custom hook failures)  
							
							 
							
							
							
						 
						
							2011-04-17 12:20:11 +02:00  
						
					 
				
					
						
							
							
								 
								Floris Bruynooghe
							
						 
						
							 
							
							
							
							
								
							
							
								1c1918eb22 
								
							 
						 
						
							
							
								
								Prevent null-characters from appearing in junitxml's output  
							
							 
							
							... 
							
							
							
							The Jenkins XML parser does not deal with null-characters inside the
XML.  This replaces any null character with nothing in the XML output,
which makes no visual difference. 
							
						 
						
							2011-04-16 00:09:25 +01:00  
						
					 
				
					
						
							
							
								 
								Floris Bruynooghe
							
						 
						
							 
							
							
							
							
								
							
							
								60ff2e8529 
								
							 
						 
						
							
							
								
								Allow unicode characters in testdir.makepyfile()  
							
							 
							
							... 
							
							
							
							On python2.x text arguments where passed through str, which meant only
ascii-encodable strings could be used.  This uses
py.builting._totext() to keep unicode until it is written out to the
file, which was already UTF-8 encoded. 
							
						 
						
							2011-04-11 23:15:56 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								3a9788fc6f 
								
							 
						 
						
							
							
								
								fix missing reason/name information for skipped tests  
							
							 
							
							
							
						 
						
							2011-03-19 17:59:07 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								ed6d2537bc 
								
							 
						 
						
							
							
								
								fix issue33 - no collection error for classes prefixed "test" deriving from object  
							
							 
							
							
							
						 
						
							2011-03-16 16:36:18 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								1a7c6ecc42 
								
							 
						 
						
							
							
								
								fix slightly wrong verbose output for non subclasses on windows  
							
							 
							
							
							
						 
						
							2011-03-08 13:37:00 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								f2670651b3 
								
							 
						 
						
							
							
								
								half the overhead for calling a test function by introducing some caching  
							
							 
							
							
							
						 
						
							2011-03-07 18:28:45 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								c552b58dc5 
								
							 
						 
						
							
							
								
								fix issue27 - --collectonly and -k keyword selection now work together.  
							
							 
							
							... 
							
							
							
							internally, collectonly and terminal reporting has been unified. 
							
						 
						
							2011-03-06 18:32:00 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								18e784c9c9 
								
							 
						 
						
							
							
								
								re-introduce pytest._fillfuncargs - it's actually used by oejskit,  
							
							 
							
							... 
							
							
							
							added a test documenting this. 
							
						 
						
							2011-03-06 08:56:58 +01:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								a6c518e68c 
								
							 
						 
						
							
							
								
								unittest plugin: prune __unittest marked modules from traces  
							
							 
							
							
							
						 
						
							2011-03-05 17:49:51 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								7e44c38570 
								
							 
						 
						
							
							
								
								avoid this test on pypy because syntax errors on pypy-1.4.1 are not precise it seems  
							
							 
							
							
							
						 
						
							2011-03-05 14:59:06 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								bfe6e98abb 
								
							 
						 
						
							
							
								
								don't expose _fillfuncargs (no clue why it ever was exposed)  
							
							 
							
							
							
						 
						
							2011-03-05 14:29:10 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								07cee24122 
								
							 
						 
						
							
							
								
								avoid deprecation warnings for our internal accesses  
							
							 
							
							
							
						 
						
							2011-03-05 14:16:27 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								318e8a404b 
								
							 
						 
						
							
							
								
								fix and improve error reporting for parametrizing funcargs (originally reported by antlong)  
							
							 
							
							
							
						 
						
							2011-03-05 12:11:35 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								070c73ff2f 
								
							 
						 
						
							
							
								
								fix issue30 (the second time)  
							
							 
							
							... 
							
							
							
							put module globals into namespace for xfail and skipif expressions 
							
						 
						
							2011-03-03 23:22:55 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								682773e0cb 
								
							 
						 
						
							
							
								
								fix issue30 - better handling and reporting of errors in xfail expressions  
							
							 
							
							
							
						 
						
							2011-03-03 12:19:17 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								6f3b84da9f 
								
							 
						 
						
							
							
								
								fix issue 28 - setup_method now works with pytest_generate_tests  
							
							 
							
							
							
						 
						
							2011-03-02 18:03:43 +01:00  
						
					 
				
					
						
							
							
								 
								Floris Bruynooghe
							
						 
						
							 
							
							
							
							
								
							
							
								2f2586af72 
								
							 
						 
						
							
							
								
								Fix pytest_assertrepr_compare on python3 (issue24)  
							
							 
							
							... 
							
							
							
							The maxsize argument must be an integer and the devision syntax changed
between python2 and python3. 
							
						 
						
							2011-02-15 23:24:18 +00:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								74b9ebc1cd 
								
							 
						 
						
							
							
								
								accept a left out "()" for ids on command line for better compatibility with pytest.vim  
							
							 
							
							
							
						 
						
							2011-02-07 11:09:42 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								3004fe3915 
								
							 
						 
						
							
							
								
								fix the last committed laxation of a test  
							
							 
							
							
							
						 
						
							2011-02-04 23:20:27 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								eb225456d7 
								
							 
						 
						
							
							
								
								laxer test for also passing it with pypy  
							
							 
							
							
							
						 
						
							2011-02-04 22:51:05 +01:00