5ebacc49c6 
								
							 
						 
						
							
							
								
								Harden tests, fix doc/msg  
							
							
							
						 
						
							2018-12-05 19:22:44 +01:00  
				
					
						
							
							
								 
						
							
								e1e4b226c6 
								
							 
						 
						
							
							
								
								👌  Address code review  
							
							... 
							
							
							
							Edited the changelog for extra clarity, and to fire off auto-formatting
Oddly enough, keeping `filename='{filename!r}'` caused an error while
collecting tests, but getting rid of the single ticks fixed it
Hopefully closes  #3191  
							
						 
						
							2018-12-05 10:52:12 +02:00  
				
					
						
							
							
								 
						
							
								e0c2ab1901 
								
							 
						 
						
							
							
								
								Fix tests not to assert a function that already asserts  
							
							... 
							
							
							
							Maybe there should be a warning about that too? 
							
						 
						
							2018-12-05 10:41:30 +02:00  
				
					
						
							
							
								 
						
							
								9fc9b2926f 
								
							 
						 
						
							
							
								
								Fix tests and add aditional cases  
							
							... 
							
							
							
							As requested by review.
👌  Address code review for tests 
							
						 
						
							2018-12-05 10:41:30 +02:00  
				
					
						
							
							
								 
						
							
								1654b77ca0 
								
							 
						 
						
							
							
								
								[ #3191 ] Set up tests to confirm warnings  
							
							
							
						 
						
							2018-12-05 10:41:18 +02:00  
				
					
						
							
							
								 
						
							
								b88c3f8f82 
								
							 
						 
						
							
							
								
								Deprecate pytest.config  
							
							
							
						 
						
							2018-12-03 09:01:42 -08:00  
				
					
						
							
							
								 
						
							
								a131f0acf6 
								
							 
						 
						
							
							
								
								Merge pull request  #4490  from nicoddemus/remove-cached-setup-add-call  
							
							... 
							
							
							
							Remove cached_setup and Metafunc.addcall 
							
						 
						
							2018-12-01 18:44:51 -02:00  
				
					
						
							
							
								 
						
							
								40b85d7ee8 
								
							 
						 
						
							
							
								
								Remove Metafunc.addcall  
							
							... 
							
							
							
							Fix  #3083  
						
							2018-12-01 16:41:59 -02:00  
				
					
						
							
							
								 
						
							
								090f7ff449 
								
							 
						 
						
							
							
								
								Remove request.cached_setup  
							
							... 
							
							
							
							Fix  #4489  
						
							2018-12-01 15:59:44 -02:00  
				
					
						
							
							
								 
						
							
								b05061dcd2 
								
							 
						 
						
							
							
								
								Change deprecation type of --result-log to PytestDeprecationWarning  
							
							... 
							
							
							
							It was decided to deprecate this on a later date (see discussion in #4447 ) 
							
						 
						
							2018-12-01 14:29:50 -02:00  
				
					
						
							
							
								 
						
							
								847eacea19 
								
							 
						 
						
							
							
								
								refactor CallInfo constructor magic into named constructor  
							
							
							
						 
						
							2018-11-30 13:21:54 +01:00  
				
					
						
							
							
								 
						
							
								7eb28f9eb7 
								
							 
						 
						
							
							
								
								remove yield tests and compat properties  
							
							
							
						 
						
							2018-11-30 10:40:13 +01:00  
				
					
						
							
							
								 
						
							
								1bba0a9714 
								
							 
						 
						
							
							
								
								Deprecate `raises(..., 'code(as_a_string)')` / `warns(..., 'code(as_a_string)')  
							
							
							
						 
						
							2018-11-29 09:34:51 -08:00  
				
					
						
							
							
								 
						
							
								e9b2475e29 
								
							 
						 
						
							
							
								
								Display actual test ids in `--collect-only`  
							
							
							
						 
						
							2018-11-25 09:33:18 -08:00  
				
					
						
							
							
								 
						
							
								5bee396e4b 
								
							 
						 
						
							
							
								
								Merge master into merge-master-into-features  
							
							
							
						 
						
							2018-11-24 13:47:10 +01:00  
				
					
						
							
							
								 
						
							
								9e522c97fa 
								
							 
						 
						
							
							
								
								Try to fix/improve reporting of test_request_garbage  
							
							... 
							
							
							
							* Run it in a subprocess to reduce possible intereference from the outer pytest
* Print the leaked objects to see if they provide any hints 
							
						 
						
							2018-11-24 08:29:39 -02:00  
				
					
						
							
							
								 
						
							
								860bc50772 
								
							 
						 
						
							
							
								
								Merge pull request  #4451  from asottile/report_correct_filename_raises_exec  
							
							... 
							
							
							
							Fix `raises(..., "code(string)")` frame filename. 
							
						 
						
							2018-11-23 17:29:09 -08:00  
				
					
						
							
							
								 
						
							
								33b877cc01 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2018-11-23 23:27:41 -02:00  
				
					
						
							
							
								 
						
							
								0d5298475d 
								
							 
						 
						
							
							
								
								Fix `raises(..., "code(string)")` frame filename.  
							
							
							
						 
						
							2018-11-23 15:01:35 -08:00  
				
					
						
							
							
								 
						
							
								be3b8fc9c1 
								
							 
						 
						
							
							
								
								Fix warnings summary header appearing twice  
							
							... 
							
							
							
							Ref: https://github.com/pytest-dev/pytest/pull/4450#discussion_r236017645 
Ref: https://github.com/pytest-dev/pytest/pull/4399  
							
						 
						
							2018-11-23 22:47:58 +01:00  
				
					
						
							
							
								 
						
							
								0cf45ee18a 
								
							 
						 
						
							
							
								
								Display "short test summary info" after (main) warnings again  
							
							... 
							
							
							
							Fixes https://github.com/pytest-dev/pytest/issues/3952 . 
							
						 
						
							2018-11-23 20:06:09 +01:00  
				
					
						
							
							
								 
						
							
								63f90a2bcd 
								
							 
						 
						
							
							
								
								Merge pull request  #4438  from RonnyPfannschmidt/fix-4386-raises-partial-object  
							
							... 
							
							
							
							fix  #4386  - restructure construction and partial state of ExceptionInfo 
						
							2018-11-23 12:41:14 -02:00  
				
					
						
							
							
								 
						
							
								0b73d6d4f5 
								
							 
						 
						
							
							
								
								Merge pull request  #4444  from RonnyPfannschmidt/fix-4386-2  
							
							... 
							
							
							
							fix  #4386  - handle uninitialized exceptioninfo in repr/str 
						
							2018-11-23 12:40:41 -02:00  
				
					
						
							
							
								 
						
							
								e4ae33d592 
								
							 
						 
						
							
							
								
								Merge pull request  #4394  from blueyed/cache-ensure-files  
							
							... 
							
							
							
							cacheprovider: do not write README/.gitignore to existing dir 
							
						 
						
							2018-11-23 09:07:49 -02:00  
				
					
						
							
							
								 
						
							
								c5c728c8bc 
								
							 
						 
						
							
							
								
								Fix test/improve tests a bit in py27  
							
							
							
						 
						
							2018-11-22 21:38:33 -02:00  
				
					
						
							
							
								 
						
							
								f987b368e8 
								
							 
						 
						
							
							
								
								Merge pull request  #3776  from alysivji/attrs-n-dataclasses  
							
							... 
							
							
							
							Detailed assert failure introspection for attrs and dataclasses objects 
							
						 
						
							2018-11-22 21:25:35 -02:00  
				
					
						
							
							
								 
						
							
								9ae8429a21 
								
							 
						 
						
							
							
								
								Use a more specific exception type in test_raises_repr_inflight  
							
							... 
							
							
							
							As requested during review 
							
						 
						
							2018-11-22 20:24:46 -02:00  
				
					
						
							
							
								 
						
							
								88bf01a31e 
								
							 
						 
						
							
							
								
								fix   #4386  - restructure construction and partial state of ExceptionInfo  
							
							
							
						 
						
							2018-11-22 21:20:32 +01:00  
				
					
						
							
							
								 
						
							
								abaf496fe8 
								
							 
						 
						
							
							
								
								Merge pull request  #4440  from nicoddemus/config-warning-stacklevel  
							
							... 
							
							
							
							Adjust stacklevel of "config" warnings 
							
						 
						
							2018-11-22 21:02:52 +01:00  
				
					
						
							
							
								 
						
							
								b71bd9b300 
								
							 
						 
						
							
							
								
								fix   #4386  - handle uninitialized exceptioninfo in repr/str  
							
							
							
						 
						
							2018-11-22 20:52:15 +01:00  
				
					
						
							
							
								 
						
							
								94d032a6de 
								
							 
						 
						
							
							
								
								Merge pull request  #4436  from asottile/print_function  
							
							... 
							
							
							
							Fix formatting of print() calls 
							
						 
						
							2018-11-22 20:17:19 +01:00  
				
					
						
							
							
								 
						
							
								aa765cf8c2 
								
							 
						 
						
							
							
								
								Adjust stacklevel of "config" warnings  
							
							... 
							
							
							
							Related to #4439  
							
						 
						
							2018-11-22 14:44:01 -02:00  
				
					
						
							
							
								 
						
							
								5f1d692072 
								
							 
						 
						
							
							
								
								use Path.resolve in test to sort out osx temporary folder being a symlink  
							
							
							
						 
						
							2018-11-22 16:10:12 +01:00  
				
					
						
							
							
								 
						
							
								b3700f61ba 
								
							 
						 
						
							
							
								
								Fix formatting of print() calls  
							
							
							
						 
						
							2018-11-22 00:15:14 -08:00  
				
					
						
							
							
								 
						
							
								fc61bdd907 
								
							 
						 
						
							
							
								
								fix 4425: resolve --basetemp to absolute paths  
							
							
							
						 
						
							2018-11-20 16:14:50 +01:00  
				
					
						
							
							
								 
						
							
								95c6d591f7 
								
							 
						 
						
							
							
								
								Properly escape \r \n \t bytes  
							
							
							
						 
						
							2018-11-19 11:03:52 -08:00  
				
					
						
							
							
								 
						
							
								9ca0ab6e2b 
								
							 
						 
						
							
							
								
								Ensure printable manually-specified param(id=...)  
							
							
							
						 
						
							2018-11-19 11:03:52 -08:00  
				
					
						
							
							
								 
						
							
								8395b9e25d 
								
							 
						 
						
							
							
								
								Require id=... to be a string  
							
							... 
							
							
							
							This was documented before, but never enforced.  Passing non-strings could
have strange side-effects and enforcing a string simplifies other
implementation. 
							
						 
						
							2018-11-19 11:03:52 -08:00  
				
					
						
							
							
								 
						
							
								3d92d5a659 
								
							 
						 
						
							
							
								
								Make sure parametrize ids are printable  
							
							
							
						 
						
							2018-11-19 11:03:52 -08:00  
				
					
						
							
							
								 
						
							
								50e3783f07 
								
							 
						 
						
							
							
								
								Merge pull request  #4421  from RonnyPfannschmidt/remove-pytest-namespace  
							
							... 
							
							
							
							remove pytest namespace hook 
							
						 
						
							2018-11-19 09:35:33 -08:00  
				
					
						
							
							
								 
						
							
								ba17363d75 
								
							 
						 
						
							
							
								
								remove pytest namespace hook  
							
							
							
						 
						
							2018-11-19 14:04:41 +01:00  
				
					
						
							
							
								 
						
							
								10cdae8e38 
								
							 
						 
						
							
							
								
								Merge pull request  #4414  from asottile/starred_with_side_effect  
							
							... 
							
							
							
							Fix assertion rewriting involving Starred + side-effects 
							
						 
						
							2018-11-17 16:17:24 -08:00  
				
					
						
							
							
								 
						
							
								5fab0ca312 
								
							 
						 
						
							
							
								
								Merge pull request  #4403  from RonnyPfannschmidt/fix-4400  
							
							... 
							
							
							
							Fix  #4400  - rearrange the handling of yield test warnings/errors 
						
							2018-11-18 00:57:44 +01:00  
				
					
						
							
							
								 
						
							
								690a63b921 
								
							 
						 
						
							
							
								
								Fix assertion rewriting involving Starred + side-effects  
							
							
							
						 
						
							2018-11-17 10:42:51 -08:00  
				
					
						
							
							
								 
						
							
								a252e81ced 
								
							 
						 
						
							
							
								
								Fix collection of testpaths with `--pyargs`  
							
							... 
							
							
							
							Fixes https://github.com/pytest-dev/pytest/issues/4405 . 
							
						 
						
							2018-11-17 13:28:10 +01:00  
				
					
						
							
							
								 
						
							
								950d30e6e0 
								
							 
						 
						
							
							
								
								fix   #4400  - rearrange the handling of yield test warnings/errors  
							
							
							
						 
						
							2018-11-16 13:49:46 +01:00  
				
					
						
							
							
								 
						
							
								0385c27343 
								
							 
						 
						
							
							
								
								cacheprovider: do not write README/.gitignore to existing dir  
							
							... 
							
							
							
							Fixes https://github.com/pytest-dev/pytest/issues/4393 . 
							
						 
						
							2018-11-14 22:09:09 +01:00  
				
					
						
							
							
								 
						
							
								e025974cbd 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into release-4.0.0  
							
							
							
						 
						
							2018-11-13 20:58:24 +00:00  
				
					
						
							
							
								 
						
							
								fea09cda6c 
								
							 
						 
						
							
							
								
								Merge pull request  #4383  from nicoddemus/merge-master-into-features  
							
							... 
							
							
							
							Merge master into features (about to prepare 4.0) 
							
						 
						
							2018-11-13 18:57:41 -02:00  
				
					
						
							
							
								 
						
							
								b83e97802e 
								
							 
						 
						
							
							
								
								improve failure output  
							
							
							
						 
						
							2018-11-13 09:37:02 -06:00