090f7ff449 
								
							 
						 
						
							
							
								
								Remove request.cached_setup  
							
							... 
							
							
							
							Fix  #4489  
						
							2018-12-01 15:59:44 -02: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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								b3700f61ba 
								
							 
						 
						
							
							
								
								Fix formatting of print() calls  
							
							
							
						 
						
							2018-11-22 00:15:14 -08:00  
				
					
						
							
							
								 
						
							
								dc20dedbc7 
								
							 
						 
						
							
							
								
								Change RemovedInPytest4Warnings to errors by default  
							
							... 
							
							
							
							To keep existing tests which emit RemovedInPytest4Warnings running, decided
to go with a command line option because:
* Is harder to integrate an ini option with tests which already use an ini file
* It also marks tests which need to be removed/updated in 4.1, when
  RemovedInPytest4Warning and related functionality are removed.
Fix  #3737  
							
						 
						
							2018-11-12 16:10:57 -02:00  
				
					
						
							
							
								 
						
							
								2368fbb63c 
								
							 
						 
						
							
							
								
								Apply reorder-python-imports to all files  
							
							
							
						 
						
							2018-10-25 00:01:29 -07:00  
				
					
						
							
							
								 
						
							
								02ae7d8531 
								
							 
						 
						
							
							
								
								Improve error message when a recursive dependency between fixtures is detected  
							
							... 
							
							
							
							Fix  #2909  
						
							2018-10-20 09:44:42 -03:00  
				
					
						
							
							
								 
						
							
								9646a1cd7a 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2018-10-15 12:55:28 -03:00  
				
					
						
							
							
								 
						
							
								4808145846 
								
							 
						 
						
							
							
								
								test_request_garbage is flaky when running with xdist  
							
							... 
							
							
							
							Example failure:
https://travis-ci.org/pytest-dev/pytest/jobs/441305926#L545  
							
						 
						
							2018-10-14 15:17:08 -03:00  
				
					
						
							
							
								 
						
							
								933de16fe4 
								
							 
						 
						
							
							
								
								Merge pull request  #3988  from RonnyPfannschmidt/tmpdir-port-pathlib  
							
							... 
							
							
							
							Tmpdir port pathlib 
							
						 
						
							2018-10-12 08:33:47 -03:00  
				
					
						
							
							
								 
						
							
								00716177b4 
								
							 
						 
						
							
							
								
								fix missed Path import  
							
							
							
						 
						
							2018-10-11 07:15:09 +02:00  
				
					
						
							
							
								 
						
							
								5436e42990 
								
							 
						 
						
							
							
								
								Use pytest.fail(..., pytrace=False) when treating user errors  
							
							... 
							
							
							
							This prevents an enormous and often useless stack trace from showing
to end users.
Fix  #3867 
Fix  #2293  
							
						 
						
							2018-10-10 19:16:53 -03:00  
				
					
						
							
							
								 
						
							
								9a3836a0cf 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2018-10-09 19:34:04 -03:00  
				
					
						
							
							
								 
						
							
								66609665f2 
								
							 
						 
						
							
							
								
								Merge pull request  #4076  from nicoddemus/unittest-param-fixture-msg  
							
							... 
							
							
							
							Improve error message when TestCase functions use a parametrized fixture 
							
						 
						
							2018-10-06 07:43:57 +02:00  
				
					
						
							
							
								 
						
							
								212937eb3e 
								
							 
						 
						
							
							
								
								Improve error message when TestCase functions use a parametrized fixture  
							
							... 
							
							
							
							Fix  #2535  
						
							2018-10-03 19:43:46 -03:00  
				
					
						
							
							
								 
						
							
								70c7273640 
								
							 
						 
						
							
							
								
								Fix request.fixturenames to return fixtures created dynamically  
							
							... 
							
							
							
							Fix  #3057  
						
							2018-10-03 18:50:14 -03:00  
				
					
						
							
							
								 
						
							
								56d0b5a7e2 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2018-09-22 18:14:36 -03:00  
				
					
						
							
							
								 
						
							
								87ddb2dbd5 
								
							 
						 
						
							
							
								
								Change flaky test_request_garbage to provide more debug information  
							
							... 
							
							
							
							This test fails *very* rarely when running in xdist. 
							
						 
						
							2018-09-14 15:25:45 -03:00  
				
					
						
							
							
								 
						
							
								482bd5efd2 
								
							 
						 
						
							
							
								
								Show deprecation warning for cached_setup  
							
							
							
						 
						
							2018-09-13 14:25:46 -03:00  
				
					
						
							
							
								 
						
							
								29e114b463 
								
							 
						 
						
							
							
								
								Try to fix test in MacOS-X  
							
							
							
						 
						
							2018-08-27 19:27:51 -03:00  
				
					
						
							
							
								 
						
							
								dce8df45d5 
								
							 
						 
						
							
							
								
								Added changelog items.  
							
							
							
						 
						
							2018-08-24 15:51:42 -07:00  
				
					
						
							
							
								 
						
							
								e3df1031ca 
								
							 
						 
						
							
							
								
								Add encoding: utf8 for python 2.7  
							
							
							
						 
						
							2018-08-24 12:26:18 -07:00  
				
					
						
							
							
								 
						
							
								459b040d21 
								
							 
						 
						
							
							
								
								Fix dedent after merge.  
							
							
							
						 
						
							2018-08-24 11:54:04 -07:00  
				
					
						
							
							
								 
						
							
								3396225f74 
								
							 
						 
						
							
							
								
								Merge branch 'master' of github.com:pytest-dev/pytest into fix-3854  
							
							
							
						 
						
							2018-08-24 11:47:24 -07:00  
				
					
						
							
							
								 
						
							
								5f8b50c094 
								
							 
						 
						
							
							
								
								Address  #3796  and add a test for it.  
							
							
							
						 
						
							2018-08-23 22:48:44 -07:00  
				
					
						
							
							
								 
						
							
								85482d575e 
								
							 
						 
						
							
							
								
								Replace Source with dedent where possible  
							
							
							
						 
						
							2018-08-23 09:06:17 -07:00  
				
					
						
							
							
								 
						
							
								ca0476953e 
								
							 
						 
						
							
							
								
								Merge pull request  #3751  from nicoddemus/collect-file-bug  
							
							... 
							
							
							
							Workaround for #3742  
							
						 
						
							2018-08-02 07:35:46 +02: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  
				
					
						
							
							
								 
						
							
								e1ad1a14af 
								
							 
						 
						
							
							
								
								Add example script and failure for  #3742  
							
							
							
						 
						
							2018-07-31 17:50:55 -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  
				
					
						
							
							
								 
						
							
								f6ceedd15b 
								
							 
						 
						
							
							
								
								Merge pull request  #3636  from RonnyPfannschmidt/fixturetest-examples  
							
							... 
							
							
							
							[RFC] Fixturetest examples - move test contents to use example scripts for contents 
							
						 
						
							2018-07-11 23:29:33 -03:00  
				
					
						
							
							
								 
						
							
								3c19370cec 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/features' into jonozzz/features  
							
							
							
						 
						
							2018-07-05 18:15:17 -03:00  
				
					
						
							
							
								 
						
							
								0fd86ec8a8 
								
							 
						 
						
							
							
								
								move some fill fixture acceptance tests contents to the examples script folder  
							
							
							
						 
						
							2018-06-29 10:58:33 +02:00  
				
					
						
							
							
								 
						
							
								4ae7e9788c 
								
							 
						 
						
							
							
								
								fix quotes in scope order test  
							
							
							
						 
						
							2018-06-29 07:13:18 +02:00  
				
					
						
							
							
								 
						
							
								5582ad0445 
								
							 
						 
						
							
							
								
								remove use of formatting in test_func_closure_module_auto  
							
							... 
							
							
							
							this makes it apparent that pytester should supply some kind of variable support 
							
						 
						
							2018-06-29 07:07:03 +02:00  
				
					
						
							
							
								 
						
							
								982b614010 
								
							 
						 
						
							
							
								
								remove format calls for most fixture tests  
							
							
							
						 
						
							2018-06-29 07:07:03 +02:00  
				
					
						
							
							
								 
						
							
								7845ab4bc3 
								
							 
						 
						
							
							
								
								remove test file formatting from TestContextManagerFixtureFuncs  
							
							
							
						 
						
							2018-06-29 07:07:03 +02:00  
				
					
						
							
							
								 
						
							
								cbaa7dd56a 
								
							 
						 
						
							
							
								
								Upgrade pre-commit hooks except pyupgrade  
							
							
							
						 
						
							2018-06-26 06:35:27 -07:00  
				
					
						
							
							
								 
						
							
								5ea647a245 
								
							 
						 
						
							
							
								
								Attempt to fix flaky test_request_garbage on Windows  
							
							... 
							
							
							
							Fix  #3564  
						
							2018-06-10 19:18:44 -03:00  
				
					
						
							
							
								 
						
							
								703e4b11ba 
								
							 
						 
						
							
							
								
								run black  
							
							
							
						 
						
							2018-05-23 16:48:46 +02:00  
				
					
						
							
							
								 
						
							
								9aacb4635e 
								
							 
						 
						
							
							
								
								run pyupgrade  
							
							
							
						 
						
							2018-05-23 16:45:09 +02:00  
				
					
						
							
							
								 
						
							
								674879976f 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2018-05-18 12:30:08 -03:00  
				
					
						
							
							
								 
						
							
								aa51fcb2b6 
								
							 
						 
						
							
							
								
								Spelling and grammar fixes  
							
							
							
						 
						
							2018-05-13 12:06:09 +02:00  
				
					
						
							
							
								 
						
							
								fa76a5c8fe 
								
							 
						 
						
							
							
								
								Attempt to fix flaky test on Python 2  
							
							... 
							
							
							
							This test sometimes fails on AppVeyor with:
```
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.0 = <listiterator object at 0x0549DC50>
    leaked_types = sum(1 for _ in gc.garbage
>                   if 'PseudoFixtureDef' in str(_))
E   UnicodeEncodeError: 'ascii' codec can't encode character u'\u263a' in position 23: ordinal not in range(128)
test_request_garbage.py:19: UnicodeEncodeError
====================== 1 passed, 1 error in 1.39 seconds ======================
```
Use our internal "safe_repr" function to handle Encode errors: who knows
what objects are in garbage after all. 
							
						 
						
							2018-05-04 17:56:51 -03:00  
				
					
						
							
							
								 
						
							
								d483b401ee 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/features' into features  
							
							
							
						 
						
							2018-04-24 13:45:10 -07:00  
				
					
						
							
							
								 
						
							
								acacf75f49 
								
							 
						 
						
							
							
								
								Added another package-scoped fixture test.  
							
							... 
							
							
							
							Changed existing complex tests to use package fixtures. 
							
						 
						
							2018-04-24 13:32:58 -07:00  
				
					
						
							
							
								 
						
							
								132fb61eba 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/features' into ApaDoctor/disable-repeated-fixture  
							
							
							
						 
						
							2018-04-23 22:24:53 -03:00  
				
					
						
							
							
								 
						
							
								03850cf962 
								
							 
						 
						
							
							
								
								Add test for applying fixture twice  
							
							... 
							
							
							
							Fix  #2334  
						
							2018-04-23 22:17:46 -03:00  
				
					
						
							
							
								 
						
							
								2b1410895e 
								
							 
						 
						
							
							
								
								Add package scoped fixtures  #2283  
							
							
							
						 
						
							2018-04-11 15:39:42 -07:00