539a22c750 
								
							 
						 
						
							
							
								
								Added support for xfailed and xpassed outcomes to the ``pytester.RunResult.assert_outcomes`` signature.  
							
							
							
						 
						
							2018-08-20 01:24:19 -05:00  
				
					
						
							
							
								 
						
							
								5cf7d1dba2 
								
							 
						 
						
							
							
								
								"suspend" method of capture fixture private  
							
							... 
							
							
							
							Also change the context-manager to global_and_fixture_disabled to
better convey its meaning 
							
						 
						
							2018-08-18 11:38:08 -03:00  
				
					
						
							
							
								 
						
							
								090f67a980 
								
							 
						 
						
							
							
								
								Refactored implementation and updated tests.  
							
							
							
						 
						
							2018-08-17 13:41:26 +02:00  
				
					
						
							
							
								 
						
							
								3059bfb1b3 
								
							 
						 
						
							
							
								
								Update test with another problem.  
							
							
							
						 
						
							2018-08-17 13:00:27 +02:00  
				
					
						
							
							
								 
						
							
								e391c47ed8 
								
							 
						 
						
							
							
								
								Update capture suspend test for logging.  
							
							
							
						 
						
							2018-08-17 00:44:15 +02:00  
				
					
						
							
							
								 
						
							
								da9d814da4 
								
							 
						 
						
							
							
								
								Added test.  
							
							
							
						 
						
							2018-08-17 00:20:51 +02:00  
				
					
						
							
							
								 
						
							
								7d4c4c66d4 
								
							 
						 
						
							
							
								
								Merge pull request  #3805  from asottile/cause_cycles  
							
							... 
							
							
							
							Fix traceback reporting for exceptions with `__cause__` cycles. 
							
						 
						
							2018-08-16 07:16:51 +02:00  
				
					
						
							
							
								 
						
							
								939a792c41 
								
							 
						 
						
							
							
								
								Merge pull request  #3798  from jonozzz/fix-3751  
							
							... 
							
							
							
							Fix  #3751  
						
							2018-08-16 06:52:16 +02:00  
				
					
						
							
							
								 
						
							
								17644ff285 
								
							 
						 
						
							
							
								
								Fix traceback reporting for exceptions with `__cause__` cycles.  
							
							
							
						 
						
							2018-08-15 18:15:07 -07:00  
				
					
						
							
							
								 
						
							
								64faa41d06 
								
							 
						 
						
							
							
								
								Merge pull request  #3802  from jonozzz/fix-3768  
							
							... 
							
							
							
							Fix test collection from packages mixed with directories. #3768  and #3789  
							
						 
						
							2018-08-15 21:42:25 -03:00  
				
					
						
							
							
								 
						
							
								212ee450b7 
								
							 
						 
						
							
							
								
								simplified test function  
							
							
							
						 
						
							2018-08-14 20:29:42 -05:00  
				
					
						
							
							
								 
						
							
								6367f0f5f1 
								
							 
						 
						
							
							
								
								fix `filterwarnings` mark not registered  
							
							
							
						 
						
							2018-08-14 16:13:15 -05:00  
				
					
						
							
							
								 
						
							
								e92893ed24 
								
							 
						 
						
							
							
								
								Add test for packages mixed with modules.  
							
							
							
						 
						
							2018-08-10 17:29:30 -07:00  
				
					
						
							
							
								 
						
							
								27b5435a40 
								
							 
						 
						
							
							
								
								Fix docs formatting and improve test a bit  
							
							
							
						 
						
							2018-08-10 18:19:07 -03:00  
				
					
						
							
							
								 
						
							
								50db718a6a 
								
							 
						 
						
							
							
								
								Add a test description.  
							
							
							
						 
						
							2018-08-10 13:57:29 -07:00  
				
					
						
							
							
								 
						
							
								266f05c4c4 
								
							 
						 
						
							
							
								
								Fix   #3751  
							
							
							
						 
						
							2018-08-09 18:28:22 -07:00  
				
					
						
							
							
								 
						
							
								4d8903fd0b 
								
							 
						 
						
							
							
								
								Merge pull request  #3780  from nicoddemus/mock-integration-fix  
							
							... 
							
							
							
							Fix issue where fixtures would lose the decorated functionality 
							
						 
						
							2018-08-09 12:26:09 -03:00  
				
					
						
							
							
								 
						
							
								67106f056b 
								
							 
						 
						
							
							
								
								Use a custom holder class so we can be sure __pytest_wrapper__ was set by us  
							
							
							
						 
						
							2018-08-09 09:22:00 -03:00  
				
					
						
							
							
								 
						
							
								051db6a33d 
								
							 
						 
						
							
							
								
								Trimming Trailing Whitespace  
							
							
							
						 
						
							2018-08-08 18:18:18 -05:00  
				
					
						
							
							
								 
						
							
								aa358433b0 
								
							 
						 
						
							
							
								
								Fix AttributeError bug in TestCaseFunction.teardown by creating TestCaseFunction._testcase as attribute of class with a None default.  
							
							
							
						 
						
							2018-08-08 18:13:21 -05:00  
				
					
						
							
							
								 
						
							
								e723069165 
								
							 
						 
						
							
							
								
								Merge pull request  #3771  from nicoddemus/package-infinite-recursion-bug  
							
							... 
							
							
							
							Fix infinite recursion collection bug with pytest_ignore_collect hook 
							
						 
						
							2018-08-06 10:09:31 -03:00  
				
					
						
							
							
								 
						
							
								2c0d2eef40 
								
							 
						 
						
							
							
								
								Only consider actual functions when considering hooks  
							
							... 
							
							
							
							Fix  #3775  
						
							2018-08-04 16:37:07 -03:00  
				
					
						
							
							
								 
						
							
								ef8ec01e39 
								
							 
						 
						
							
							
								
								Fix issue where fixtures would lose the decorated functionality  
							
							... 
							
							
							
							Fix  #3774  
						
							2018-08-04 15:14:00 -03:00  
				
					
						
							
							
								 
						
							
								dcafb8c48c 
								
							 
						 
						
							
							
								
								Add example for package recursion bug  
							
							
							
						 
						
							2018-08-03 15:40:33 -03:00  
				
					
						
							
							
								 
						
							
								ca0476953e 
								
							 
						 
						
							
							
								
								Merge pull request  #3751  from nicoddemus/collect-file-bug  
							
							... 
							
							
							
							Workaround for #3742  
							
						 
						
							2018-08-02 07:35:46 +02:00  
				
					
						
							
							
								 
						
							
								7e92930fa9 
								
							 
						 
						
							
							
								
								Merge pull request  #3764  from asottile/fix_3763  
							
							... 
							
							
							
							Fix `TypeError` when the assertion message is `bytes` in python 3. 
							
						 
						
							2018-08-02 07:19:51 +02:00  
				
					
						
							
							
								 
						
							
								33769d0328 
								
							 
						 
						
							
							
								
								Merge pull request  #3754  from nicoddemus/fix-function-call-warning  
							
							... 
							
							
							
							Refactor direct fixture call warning to avoid incompatibility with plugins 
							
						 
						
							2018-08-02 07:17:15 +02:00  
				
					
						
							
							
								 
						
							
								804fc4063a 
								
							 
						 
						
							
							
								
								Merge pull request  #3741  from kalekundert/approx_misc_tweaks  
							
							... 
							
							
							
							Miscellaneous improvements to approx() 
							
						 
						
							2018-08-01 23:40:21 -03:00  
				
					
						
							
							
								 
						
							
								452e5c1cf0 
								
							 
						 
						
							
							
								
								Fix `TypeError` when the assertion message is `bytes` in python 3.  
							
							
							
						 
						
							2018-08-01 15:09:25 -07:00  
				
					
						
							
							
								 
						
							
								c6b11b9f62 
								
							 
						 
						
							
							
								
								Refactor direct fixture call warning to avoid incompatibility with plugins  
							
							... 
							
							
							
							This refactors the code so we have the real function object right during
collection. This avoids having to unwrap it later and lose attached information
such as "async" functions.
Fix  #3747  
							
						 
						
							2018-08-01 16:38:43 -03:00  
				
					
						
							
							
								 
						
							
								43664d7841 
								
							 
						 
						
							
							
								
								Use ids for parametrized values in test_expected_value_type_error  
							
							
							
						 
						
							2018-08-01 07:34:08 -03:00  
				
					
						
							
							
								 
						
							
								6e32a1f73d 
								
							 
						 
						
							
							
								
								Use parametrize in repr test for nd arrays  
							
							
							
						 
						
							2018-08-01 07:04:25 -03:00  
				
					
						
							
							
								 
						
							
								fcdc1d867e 
								
							 
						 
						
							
							
								
								fix   #3745  - display absolute cache_dir if necessary  
							
							
							
						 
						
							2018-08-01 08:25:37 +02:00  
				
					
						
							
							
								 
						
							
								8c9efd8608 
								
							 
						 
						
							
							
								
								Only call _collectfile on package instances  
							
							... 
							
							
							
							As discussed in #3751 , this feels like a hack, pushing it only so we can
see how it fares on CI and if there are better solutions out there 
							
						 
						
							2018-07-31 19:06:30 -03:00  
				
					
						
							
							
								 
						
							
								e1ad1a14af 
								
							 
						 
						
							
							
								
								Add example script and failure for  #3742  
							
							
							
						 
						
							2018-07-31 17:50:55 -03:00  
				
					
						
							
							
								 
						
							
								032db159c9 
								
							 
						 
						
							
							
								
								Let black reformat the code...  
							
							
							
						 
						
							2018-07-31 11:23:23 -07:00  
				
					
						
							
							
								 
						
							
								cd2085ee71 
								
							 
						 
						
							
							
								
								approx(): Detect type errors earlier.  
							
							
							
						 
						
							2018-07-31 00:26:35 -07:00  
				
					
						
							
							
								 
						
							
								7d8688d54b 
								
							 
						 
						
							
							
								
								Reflect dimension in approx repr for numpy arrays.  
							
							
							
						 
						
							2018-07-30 23:23:17 -07:00  
				
					
						
							
							
								 
						
							
								eada0b1fd7 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into release-3.7.0  
							
							
							
						 
						
							2018-07-30 20:12:30 +00:00  
				
					
						
							
							
								 
						
							
								cf6d8e7e53 
								
							 
						 
						
							
							
								
								Fix test and update warning in pytest_namespace docs  
							
							
							
						 
						
							2018-07-30 12:16:42 -03:00  
				
					
						
							
							
								 
						
							
								535fd1f311 
								
							 
						 
						
							
							
								
								may as well include inf test while we're at it  
							
							
							
						 
						
							2018-07-29 23:12:04 -04:00  
				
					
						
							
							
								 
						
							
								330640eb96 
								
							 
						 
						
							
							
								
								update tests to check tolerance args and expecing nan in numpy arrays  
							
							
							
						 
						
							2018-07-29 22:47:38 -04:00  
				
					
						
							
							
								 
						
							
								57b0c60cb4 
								
							 
						 
						
							
							
								
								Remove Testdir.run_example as recommended  
							
							
							
						 
						
							2018-07-26 20:10:40 -03:00  
				
					
						
							
							
								 
						
							
								6e57d123bb 
								
							 
						 
						
							
							
								
								Mark test_idval_hypothesis as flaky on Windows ( #3707 )  
							
							
							
						 
						
							2018-07-26 19:58:42 -03:00  
				
					
						
							
							
								 
						
							
								011f88f7e7 
								
							 
						 
						
							
							
								
								Deprecate calling fixture functions directly  
							
							... 
							
							
							
							This will now issue a RemovedInPytest4Warning when the user calls
a fixture function directly, instead of requesting it from test
functions as is expected
Fix  #3661  
							
						 
						
							2018-07-26 19:58:42 -03:00  
				
					
						
							
							
								 
						
							
								f0db64ac2e 
								
							 
						 
						
							
							
								
								drop the duplicate approx call  
							
							... 
							
							
							
							update test to include both np.array(actual) and np.array(expected) 
							
						 
						
							2018-07-24 21:18:44 -04:00  
				
					
						
							
							
								 
						
							
								514ca6f4ad 
								
							 
						 
						
							
							
								
								add test wrt  #3695  checking numpy array tolerance args  
							
							
							
						 
						
							2018-07-23 23:40:06 -04:00  
				
					
						
							
							
								 
						
							
								0bb29d5649 
								
							 
						 
						
							
							
								
								Merge pull request  #3685  from nicoddemus/merge-master-into-features  
							
							... 
							
							
							
							Merge master into features 
							
						 
						
							2018-07-15 16:53:39 -03:00  
				
					
						
							
							
								 
						
							
								ac9ceaacd8 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2018-07-15 11:54:14 -03:00  
				
					
						
							
							
								 
						
							
								d2fe619120 
								
							 
						 
						
							
							
								
								Fix truncated locals in verbose mode  
							
							
							
						 
						
							2018-07-15 11:30:26 -03:00