pytest bot
							
						 
						
							 
							
							
							
							
								
							
							
								1e4b8d447c 
								
							 
						 
						
							
							
								
								Prepare release version 6.0.0  
							
							 
							
							
							
						 
						
							2020-07-28 11:44:27 +00:00  
						
					 
				
					
						
							
							
								 
								Anthony Sottile
							
						 
						
							 
							
							
							
							
								
							
							
								9818899df4 
								
							 
						 
						
							
							
								
								remove usage of pylib in docs  
							
							 
							
							
							
						 
						
							2020-07-26 17:57:25 -07:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								906d8496c9 
								
							 
						 
						
							
							
								
								New doc role: globalvar for special variables  
							
							 
							
							... 
							
							
							
							This introduces a new role, `:globalvar:`, so we can mark/reference
variables like `pytest_plugins`, `pytestmark`, etc. This besides being useful
also makes the documentation look more consistent. 
							
						 
						
							2020-07-10 09:50:03 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								7d033a8950 
								
							 
						 
						
							
							
								
								Prepare release version 6.0.0rc1  
							
							 
							
							
							
						 
						
							2020-07-08 17:51:01 -04:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								9db9f04432 
								
							 
						 
						
							
							
								
								Use builtin compile in doc example  
							
							 
							
							... 
							
							
							
							Follow up to #7438  
							
						 
						
							2020-07-08 17:49:09 -04:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								93d2ccbfb7 
								
							 
						 
						
							
							
								
								Point to stable docs instead of latest  
							
							 
							
							... 
							
							
							
							Now that our master might contain new features, it is best to point
users to the stable docs rather than the latest 
							
						 
						
							2020-07-07 07:45:27 -03:00  
						
					 
				
					
						
							
							
								 
								Daniel
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								6cbbd2d90b 
								
							 
						 
						
							
							
								
								Fix typo in examples/markers.rst  
							
							 
							
							
							
						 
						
							2020-06-23 22:38:11 +02:00  
						
					 
				
					
						
							
							
								 
								Florian Bruhin
							
						 
						
							 
							
							
							
							
								
							
							
								e36d5c05c6 
								
							 
						 
						
							
							
								
								doc: Explain indirect parametrization and markers for fixtures  
							
							 
							
							
							
						 
						
							2020-06-10 14:27:45 +02:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								c17d50829f 
								
							 
						 
						
							
							
								
								Add pyproject.toml support ( #7247 )  
							
							 
							
							
							
						 
						
							2020-06-08 10:03:10 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								be1a2e440e 
								
							 
						 
						
							
							
								
								Merge pull request  #7301  from pytest-dev/release-5.4.3  
							
							 
							
							... 
							
							
							
							Prepare release 5.4.3 
							
						 
						
							2020-06-02 14:19:18 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								f506682abe 
								
							 
						 
						
							
							
								
								Merge pull request  #6919  from nicoddemus/backport-6914  
							
							 
							
							
							
						 
						
							2020-05-16 12:42:15 -03:00  
						
					 
				
					
						
							
							
								 
								Paweł Wilczyński
							
						 
						
							 
							
							
							
							
								
							
							
								dbfc629698 
								
							 
						 
						
							
							
								
								#7138  Docs improvement: Apply indirect on particular arguments  
							
							 
							
							
							
						 
						
							2020-05-11 13:26:16 +02:00  
						
					 
				
					
						
							
							
								 
								Ran Benita
							
						 
						
							 
							
							
							
							
								
							
							
								a718ad6363 
								
							 
						 
						
							
							
								
								Stop using Python's eval() for -m and -k  
							
							 
							
							... 
							
							
							
							Previously, the expressions given to the `-m` and `-k` options were
evaluated with `eval`. This causes a few issues:
- Python keywords cannot be used.
- Constants like numbers, None, True, False are not handled correctly.
- Various syntax like numeric operators and `X if Y else Z` is supported
  unintentionally.
- `eval()` is somewhat dangerous for arbitrary input.
- Can fail in many ways so requires `except Exception`.
The format we want to support is quite simple, so change to a custom
parser. This fixes the issues above, and gives us full control of the
format, so can be documented comprehensively and even be extended in the
future if we wish. 
							
						 
						
							2020-05-01 12:59:06 +03:00  
						
					 
				
					
						
							
							
								 
								Alfredo Deza
							
						 
						
							 
							
							
							
							
								
							
							
								7d75762de6 
								
							 
						 
						
							
							
								
								Do not use automatic title in fixture reference  
							
							 
							
							... 
							
							
							
							It creates odd wording otherwise. Keep the reference, update the title
using Sphinx notation. 
							
						 
						
							2020-04-01 09:55:30 -04:00  
						
					 
				
					
						
							
							
								 
								Ran Benita
							
						 
						
							 
							
							
							
							
								
							
							
								a785754523 
								
							 
						 
						
							
							
								
								Change EnvironmentError, IOError to OSError - they are aliases  
							
							 
							
							... 
							
							
							
							Since Python 3.3, these are aliases for OSError:
https://docs.python.org/3/whatsnew/3.3.html#pep-3151-reworking-the-os-and-io-exception-hierarchy  
							
						 
						
							2020-03-27 18:40:23 +03:00  
						
					 
				
					
						
							
							
								 
								Daniel Hahler
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								aae0579bcd 
								
							 
						 
						
							
							
								
								doc: use `envvar` directive for environment variables ( #6874 )  
							
							 
							
							... 
							
							
							
							This changes the link anchors in "reference.html", from e.g.
`reference.html#pytest-current-test` to
`reference.html#envvar-PYTEST_CURRENT_TEST`, but I think that is OK, and
not worth adding labels for the old anchors. 
							
						 
						
							2020-03-27 02:40:25 +01:00  
						
					 
				
					
						
							
							
								 
								Daniel Hahler
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								327ec54248 
								
							 
						 
						
							
							
								
								Doc fixes ( #6861 )  
							
							 
							
							
							
						 
						
							2020-03-27 02:22:03 +01:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								010e711971 
								
							 
						 
						
							
							
								
								Merge pull request  #6914  from nicoddemus/revert-6330  
							
							 
							
							... 
							
							
							
							Revert "[parametrize] enforce explicit argnames declaration (#6330 )" 
							
						 
						
							2020-03-13 10:49:48 -03:00  
						
					 
				
					
						
							
							
								 
								pytest bot
							
						 
						
							 
							
							
							
							
								
							
							
								c9fd1bdbd6 
								
							 
						 
						
							
							
								
								Preparing release version 5.4.0  
							
							 
							
							
							
						 
						
							2020-03-12 14:14:35 +00:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								378a75ddf6 
								
							 
						 
						
							
							
								
								run and fix tox -e regen to prepare 5.4  
							
							 
							
							... 
							
							
							
							* no longer trigger deprecation warnings when looking up fixtures
* fix missed imports in a test example 
							
						 
						
							2020-03-11 22:25:51 +01:00  
						
					 
				
					
						
							
							
								 
								Daniel Hahler
							
						 
						
							 
							
							
							
							
								
							
							
								620d457756 
								
							 
						 
						
							
							
								
								doc: add __tracebackhide__ label  
							
							 
							
							
							
						 
						
							2020-03-02 17:08:37 +01:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								e6ea9edffe 
								
							 
						 
						
							
							
								
								Merge pull request  #6673  from sscherfke/features  
							
							 
							
							... 
							
							
							
							Reverse / fix meaning of "+/-" in error diffs 
							
						 
						
							2020-02-12 15:05:38 -03:00  
						
					 
				
					
						
							
							
								 
								Stefan Scherfke
							
						 
						
							 
							
							
							
							
								
							
							
								d59adc61f9 
								
							 
						 
						
							
							
								
								Reverse / fix meaning of "+/-" in error diffs  
							
							 
							
							... 
							
							
							
							The convention is "assert result is expected".  Pytest's error diffs now
reflect this. "-" means that sth. expected is missing in the result and
"+" means that there are unexpected extras in the result.
Fixes : #3333  
							
						 
						
							2020-02-10 21:12:37 +01:00  
						
					 
				
					
						
							
							
								 
								Vladyslav Rachek
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								9e262038c8 
								
							 
						 
						
							
							
								
								[parametrize] enforce explicit argnames declaration ( #6330 )  
							
							 
							
							... 
							
							
							
							Every argname used in `parametrize` either must
be declared explicitly in the python test function, or via
`indirect` list
Fix  #5712  
							
						 
						
							2020-02-06 20:20:25 -03:00  
						
					 
				
					
						
							
							
								 
								Daniel Hahler
							
						 
						
							 
							
							
							
							
								
							
							
								b5b6e051ed 
								
							 
						 
						
							
							
								
								Merge master into features  
							
							 
							
							
							
						 
						
							2020-01-30 02:29:02 +01:00  
						
					 
				
					
						
							
							
								 
								sdementen
							
						 
						
							 
							
							
							
							
								
							
							
								d848a20563 
								
							 
						 
						
							
							
								
								Extend the incremental marker for parametrize  
							
							 
							
							... 
							
							
							
							The incremental marker is adapted to handle properly test classes with parametrize defined at class level.
Fix  #3125  
							
						 
						
							2020-01-29 08:25:17 -03:00  
						
					 
				
					
						
							
							
								 
								Daniel Hahler
							
						 
						
							 
							
							
							
							
								
							
							
								09bdbffbde 
								
							 
						 
						
							
							
								
								Merge master into features  
							
							 
							
							... 
							
							
							
							Conflicts:
	src/_pytest/_code/code.py
	src/_pytest/main.py 
							
						 
						
							2020-01-24 23:44:50 +01:00  
						
					 
				
					
						
							
							
								 
								Daniel Hahler
							
						 
						
							 
							
							
							
							
								
							
							
								b63cb18776 
								
							 
						 
						
							
							
								
								doc: remove costlysetup example  
							
							 
							
							... 
							
							
							
							It is not included with docs, and
`example/costlysetup/sub_a/test_quick.py::test_quick` sleeps for 5s,
slowing down `doctesting` unnecessarily. 
							
						 
						
							2020-01-23 12:23:30 +01:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								93b74d28d2 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into mm  
							
							 
							
							... 
							
							
							
							Conflicts:
 * 	src/_pytest/_code/code.py
 * 	src/_pytest/main.py
 * 	testing/python/metafunc.py
 * 	testing/test_parseopt.py
 * 	testing/test_pytester.py 
							
						 
						
							2020-01-22 11:03:45 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								6a26ac4125 
								
							 
						 
						
							
							
								
								Preparing release version 5.3.4  
							
							 
							
							
							
						 
						
							2020-01-20 13:53:31 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								56dc301c50 
								
							 
						 
						
							
							
								
								Preparing release version 5.3.3  
							
							 
							
							
							
						 
						
							2020-01-16 18:55:41 -05:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								853889e5db 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into mm  
							
							 
							
							
							
						 
						
							2019-12-14 10:45:44 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								10fcac7f90 
								
							 
						 
						
							
							
								
								Preparing release version 5.3.2  
							
							 
							
							
							
						 
						
							2019-12-13 08:51:15 -03:00  
						
					 
				
					
						
							
							
								 
								Christoph Bülter
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								623b3982b0 
								
							 
						 
						
							
							
								
								Update doc/en/example/markers.rst  
							
							 
							
							... 
							
							
							
							Co-Authored-By: Bruno Oliveira <nicoddemus@gmail.com> 
							
						 
						
							2019-12-05 16:59:08 +01:00  
						
					 
				
					
						
							
							
								 
								Christoph Buelter
							
						 
						
							 
							
							
							
							
								
							
							
								ac5929eef3 
								
							 
						 
						
							
							
								
								Update docs about case-insensitive expression matching  
							
							 
							
							
							
						 
						
							2019-12-05 14:13:22 +01:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								59f95b7f59 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into mm  
							
							 
							
							
							
						 
						
							2019-12-03 11:07:34 -03:00  
						
					 
				
					
						
							
							
								 
								Ran Benita
							
						 
						
							 
							
							
							
							
								
							
							
								d2d7b97a70 
								
							 
						 
						
							
							
								
								Remove outdated py2py3 example  
							
							 
							
							
							
						 
						
							2019-12-02 21:16:15 +02:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								05008f6b55 
								
							 
						 
						
							
							
								
								Preparing release version 5.3.1  
							
							 
							
							
							
						 
						
							2019-11-25 14:32:37 -03:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								15ffe63204 
								
							 
						 
						
							
							
								
								update  doc examples **untested**  
							
							 
							
							
							
						 
						
							2019-11-23 21:54:11 +01:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								4b16b93cf5 
								
							 
						 
						
							
							
								
								Preparing release version 5.3.0  
							
							 
							
							
							
						 
						
							2019-11-19 12:43:51 -03:00  
						
					 
				
					
						
							
							
								 
								Anthony Sottile
							
						 
						
							 
							
							
							
							
								
							
							
								c9a96cdee8 
								
							 
						 
						
							
							
								
								Preparing release version 5.2.4  
							
							 
							
							
							
						 
						
							2019-11-15 13:26:56 -08:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								e856638ba0 
								
							 
						 
						
							
							
								
								Preparing release version 5.2.3 ( #6190 )  
							
							 
							
							... 
							
							
							
							Preparing release version 5.2.3 
							
						 
						
							2019-11-14 18:17:28 -03:00  
						
					 
				
					
						
							
							
								 
								Michael Shields
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								bd68c2a3dc 
								
							 
						 
						
							
							
								
								Update advice about _called_from_test.  
							
							 
							
							... 
							
							
							
							Instead of giving an example of using sys and then, at the end,
advising not to use sys, just give a correct example. This is
especially helpful since mypy 0.740 has started (correctly) complaining
about sys._called_from_pytest not being present. 
							
						 
						
							2019-11-14 19:44:27 +00:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								5e8c47faad 
								
							 
						 
						
							
							
								
								Preparing release version 5.2.3  
							
							 
							
							
							
						 
						
							2019-11-14 11:12:06 -03:00  
						
					 
				
					
						
							
							
								 
								Albert Tugushev
							
						 
						
							 
							
							
							
							
								
							
							
								18786992bb 
								
							 
						 
						
							
							
								
								Update doc to use contextlib2.nullcontext  
							
							 
							
							... 
							
							
							
							nullcontext has been backported in contextlib2==0.6.0 
							
						 
						
							2019-10-19 15:09:37 +07:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								068ef90b92 
								
							 
						 
						
							
							
								
								Preparing release version 5.2.0  
							
							 
							
							
							
						 
						
							2019-09-28 21:18:37 -04:00  
						
					 
				
					
						
							
							
								 
								Daniel Hahler
							
						 
						
							 
							
							
							
							
								
							
							
								409cc2946a 
								
							 
						 
						
							
							
								
								Merge master into features  
							
							 
							
							
							
						 
						
							2019-09-21 16:22:48 +02:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								1a9f4a51cb 
								
							 
						 
						
							
							
								
								Preparing release version 5.1.3  
							
							 
							
							
							
						 
						
							2019-09-18 10:11:59 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								6918d07560 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/features' into aklajnert/1682-dynamic-scope  
							
							 
							
							
							
						 
						
							2019-09-18 07:44:18 -03:00  
						
					 
				
					
						
							
							
								 
								aklajnert
							
						 
						
							 
							
							
							
							
								
							
							
								10bf6aac76 
								
							 
						 
						
							
							
								
								Implemented the dynamic scope feature.  
							
							 
							
							
							
						 
						
							2019-08-31 18:12:24 +02:00