Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								07a560ff24 
								
							 
						 
						
							
							
								
								Fix collection error when tests is specified with --doctest-modules  
							
							 
							
							... 
							
							
							
							The problem was that _matchnodes would receive two items: [DoctestModule, Module]. It would then collect the first one, *cache it*, and fail to match against the name in the command line. Next, it would reuse the cached item (DoctestModule) instead of collecting the Module which would eventually find the "test" name on it.
Added the type of the node to the cache key to avoid this problem, although I'm not a big fan of caches that have different key types.
Fix  #3843  
							
						 
						
							2018-08-21 21:02:46 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								f1079a8222 
								
							 
						 
						
							
							
								
								Merge pull request  #3832  from Sup3rGeo/bugfix/capsys-with-cli-logging  
							
							 
							
							... 
							
							
							
							Bugfix/capsys with cli logging (again) 
							
						 
						
							2018-08-21 20:12:31 -03:00  
						
					 
				
					
						
							
							
								 
								Victor
							
						 
						
							 
							
							
							
							
								
							
							
								70ebab3537 
								
							 
						 
						
							
							
								
								Renamed snap_global_capture to read_global_capture.  
							
							 
							
							
							
						 
						
							2018-08-20 17:48:14 +02:00  
						
					 
				
					
						
							
							
								 
								Victor
							
						 
						
							 
							
							
							
							
								
							
							
								d611b03589 
								
							 
						 
						
							
							
								
								Parametrized tests for capfd as well. Separated global capture test.  
							
							 
							
							
							
						 
						
							2018-08-20 12:23:59 +02:00  
						
					 
				
					
						
							
							
								 
								victor
							
						 
						
							 
							
							
							
							
								
							
							
								7ea4992f16 
								
							 
						 
						
							
							
								
								Fixed linting.  
							
							 
							
							
							
						 
						
							2018-08-19 15:46:02 +02:00  
						
					 
				
					
						
							
							
								 
								victor
							
						 
						
							 
							
							
							
							
								
							
							
								0564b52c0e 
								
							 
						 
						
							
							
								
								Fixed integration with other modules/tests  
							
							 
							
							
							
						 
						
							2018-08-19 15:26:57 +02:00  
						
					 
				
					
						
							
							
								 
								victor
							
						 
						
							 
							
							
							
							
								
							
							
								9e382e8d29 
								
							 
						 
						
							
							
								
								Fixed test.  
							
							 
							
							
							
						 
						
							2018-08-19 14:29:57 +02:00  
						
					 
				
					
						
							
							
								 
								victor
							
						 
						
							 
							
							
							
							
								
							
							
								2255892d65 
								
							 
						 
						
							
							
								
								Improved test to cover more cases.  
							
							 
							
							
							
						 
						
							2018-08-19 13:44:12 +02:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								f4c5994d27 
								
							 
						 
						
							
							
								
								Fixtures during teardown can use capsys and capfd to get output from tests  
							
							 
							
							... 
							
							
							
							Fix  #3033  
							
						 
						
							2018-08-18 14:46:24 -03:00  
						
					 
				
					
						
							
							
								 
								Tyler Richard
							
						 
						
							 
							
							
							
							
								
							
							
								c24c7e75e2 
								
							 
						 
						
							
							
								
								Added regression test for capfd in a fixture  
							
							 
							
							
							
						 
						
							2018-08-18 14:11:04 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Victor
							
						 
						
							 
							
							
							
							
								
							
							
								090f67a980 
								
							 
						 
						
							
							
								
								Refactored implementation and updated tests.  
							
							 
							
							
							
						 
						
							2018-08-17 13:41:26 +02:00  
						
					 
				
					
						
							
							
								 
								Victor
							
						 
						
							 
							
							
							
							
								
							
							
								3059bfb1b3 
								
							 
						 
						
							
							
								
								Update test with another problem.  
							
							 
							
							
							
						 
						
							2018-08-17 13:00:27 +02:00  
						
					 
				
					
						
							
							
								 
								Victor
							
						 
						
							 
							
							
							
							
								
							
							
								e391c47ed8 
								
							 
						 
						
							
							
								
								Update capture suspend test for logging.  
							
							 
							
							
							
						 
						
							2018-08-17 00:44:15 +02:00  
						
					 
				
					
						
							
							
								 
								Victor
							
						 
						
							 
							
							
							
							
								
							
							
								da9d814da4 
								
							 
						 
						
							
							
								
								Added test.  
							
							 
							
							
							
						 
						
							2018-08-17 00:20:51 +02:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								939a792c41 
								
							 
						 
						
							
							
								
								Merge pull request  #3798  from jonozzz/fix-3751  
							
							 
							
							... 
							
							
							
							Fix  #3751  
							
						 
						
							2018-08-16 06:52:16 +02:00  
						
					 
				
					
						
							
							
								 
								Anthony Sottile
							
						 
						
							 
							
							
							
							
								
							
							
								17644ff285 
								
							 
						 
						
							
							
								
								Fix traceback reporting for exceptions with `__cause__` cycles.  
							
							 
							
							
							
						 
						
							2018-08-15 18:15:07 -07:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Sankt Petersbug
							
						 
						
							 
							
							
							
							
								
							
							
								212ee450b7 
								
							 
						 
						
							
							
								
								simplified test function  
							
							 
							
							
							
						 
						
							2018-08-14 20:29:42 -05:00  
						
					 
				
					
						
							
							
								 
								Sankt Petersbug
							
						 
						
							 
							
							
							
							
								
							
							
								6367f0f5f1 
								
							 
						 
						
							
							
								
								fix `filterwarnings` mark not registered  
							
							 
							
							
							
						 
						
							2018-08-14 16:13:15 -05:00  
						
					 
				
					
						
							
							
								 
								turturica
							
						 
						
							 
							
							
							
							
								
							
							
								e92893ed24 
								
							 
						 
						
							
							
								
								Add test for packages mixed with modules.  
							
							 
							
							
							
						 
						
							2018-08-10 17:29:30 -07:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								27b5435a40 
								
							 
						 
						
							
							
								
								Fix docs formatting and improve test a bit  
							
							 
							
							
							
						 
						
							2018-08-10 18:19:07 -03:00  
						
					 
				
					
						
							
							
								 
								turturica
							
						 
						
							 
							
							
							
							
								
							
							
								50db718a6a 
								
							 
						 
						
							
							
								
								Add a test description.  
							
							 
							
							
							
						 
						
							2018-08-10 13:57:29 -07:00  
						
					 
				
					
						
							
							
								 
								turturica
							
						 
						
							 
							
							
							
							
								
							
							
								266f05c4c4 
								
							 
						 
						
							
							
								
								Fix   #3751  
							
							 
							
							
							
						 
						
							2018-08-09 18:28:22 -07:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Wes Thomas
							
						 
						
							 
							
							
							
							
								
							
							
								051db6a33d 
								
							 
						 
						
							
							
								
								Trimming Trailing Whitespace  
							
							 
							
							
							
						 
						
							2018-08-08 18:18:18 -05:00  
						
					 
				
					
						
							
							
								 
								Wes Thomas
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								2c0d2eef40 
								
							 
						 
						
							
							
								
								Only consider actual functions when considering hooks  
							
							 
							
							... 
							
							
							
							Fix  #3775  
							
						 
						
							2018-08-04 16:37:07 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								ef8ec01e39 
								
							 
						 
						
							
							
								
								Fix issue where fixtures would lose the decorated functionality  
							
							 
							
							... 
							
							
							
							Fix  #3774  
							
						 
						
							2018-08-04 15:14:00 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								dcafb8c48c 
								
							 
						 
						
							
							
								
								Add example for package recursion bug  
							
							 
							
							
							
						 
						
							2018-08-03 15:40:33 -03:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								ca0476953e 
								
							 
						 
						
							
							
								
								Merge pull request  #3751  from nicoddemus/collect-file-bug  
							
							 
							
							... 
							
							
							
							Workaround for #3742  
							
						 
						
							2018-08-02 07:35:46 +02:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								804fc4063a 
								
							 
						 
						
							
							
								
								Merge pull request  #3741  from kalekundert/approx_misc_tweaks  
							
							 
							
							... 
							
							
							
							Miscellaneous improvements to approx() 
							
						 
						
							2018-08-01 23:40:21 -03:00  
						
					 
				
					
						
							
							
								 
								Anthony Sottile
							
						 
						
							 
							
							
							
							
								
							
							
								452e5c1cf0 
								
							 
						 
						
							
							
								
								Fix `TypeError` when the assertion message is `bytes` in python 3.  
							
							 
							
							
							
						 
						
							2018-08-01 15:09:25 -07:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								43664d7841 
								
							 
						 
						
							
							
								
								Use ids for parametrized values in test_expected_value_type_error  
							
							 
							
							
							
						 
						
							2018-08-01 07:34:08 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								6e32a1f73d 
								
							 
						 
						
							
							
								
								Use parametrize in repr test for nd arrays  
							
							 
							
							
							
						 
						
							2018-08-01 07:04:25 -03:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								fcdc1d867e 
								
							 
						 
						
							
							
								
								fix   #3745  - display absolute cache_dir if necessary  
							
							 
							
							
							
						 
						
							2018-08-01 08:25:37 +02:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								e1ad1a14af 
								
							 
						 
						
							
							
								
								Add example script and failure for  #3742  
							
							 
							
							
							
						 
						
							2018-07-31 17:50:55 -03:00  
						
					 
				
					
						
							
							
								 
								Kale Kundert
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								032db159c9 
								
							 
						 
						
							
							
								
								Let black reformat the code...  
							
							 
							
							
							
						 
						
							2018-07-31 11:23:23 -07:00  
						
					 
				
					
						
							
							
								 
								Kale Kundert
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								cd2085ee71 
								
							 
						 
						
							
							
								
								approx(): Detect type errors earlier.  
							
							 
							
							
							
						 
						
							2018-07-31 00:26:35 -07:00  
						
					 
				
					
						
							
							
								 
								Kale Kundert
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								7d8688d54b 
								
							 
						 
						
							
							
								
								Reflect dimension in approx repr for numpy arrays.  
							
							 
							
							
							
						 
						
							2018-07-30 23:23:17 -07:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								eada0b1fd7 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into release-3.7.0  
							
							 
							
							
							
						 
						
							2018-07-30 20:12:30 +00:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								cf6d8e7e53 
								
							 
						 
						
							
							
								
								Fix test and update warning in pytest_namespace docs  
							
							 
							
							
							
						 
						
							2018-07-30 12:16:42 -03:00  
						
					 
				
					
						
							
							
								 
								abrammer
							
						 
						
							 
							
							
							
							
								
							
							
								535fd1f311 
								
							 
						 
						
							
							
								
								may as well include inf test while we're at it  
							
							 
							
							
							
						 
						
							2018-07-29 23:12:04 -04:00