2c071a060e 
								
							 
						 
						
							
							
								
								refactor resolve_arg_value_types  
							
							... 
							
							
							
							* more explicit type checks
* expand from list+tuple to sequence 
							
						 
						
							2019-07-13 08:13:46 +02:00  
				
					
						
							
							
								 
						
							
								31738155b5 
								
							 
						 
						
							
							
								
								Remove deprecated features ( #5529 )  
							
							... 
							
							
							
							Remove deprecated features 
							
						 
						
							2019-07-09 19:04:06 -03:00  
				
					
						
							
							
								 
						
							
								39a43dbae1 
								
							 
						 
						
							
							
								
								Merge pull request  #5575  from bluetech/mypy-initial  
							
							... 
							
							
							
							Add rudimentary mypy type checking 
							
						 
						
							2019-07-09 08:05:14 -07:00  
				
					
						
							
							
								 
						
							
								c1167ac552 
								
							 
						 
						
							
							
								
								Add rudimentary mypy type checking  
							
							... 
							
							
							
							Add a very lax mypy configuration, add it to tox -e linting, and
fix/ignore the few errors that come up. The idea is to get it running
before diving in too much.
This enables:
- Progressively adding type annotations and enabling more strict
  options, which will improve the codebase (IMO).
- Annotating the public API in-line, and eventually exposing it to
  library users who use type checkers (with a py.typed file).
Though, none of this is done yet.
Refs https://github.com/pytest-dev/pytest/issues/3342 . 
							
						 
						
							2019-07-09 10:49:17 +03:00  
				
					
						
							
							
								 
						
							
								caa08ebd45 
								
							 
						 
						
							
							
								
								Improve quoting in raises match failure message  
							
							
							
						 
						
							2019-07-04 05:55:26 -07:00  
				
					
						
							
							
								 
						
							
								0ed7aa2db6 
								
							 
						 
						
							
							
								
								Make 'request' a reserved name for fixtures  
							
							
							
						 
						
							2019-06-30 13:31:39 -03:00  
				
					
						
							
							
								 
						
							
								c470ade0a5 
								
							 
						 
						
							
							
								
								Remove 'RemovedInPytest4Warning'  
							
							
							
						 
						
							2019-06-30 13:31:39 -03:00  
				
					
						
							
							
								 
						
							
								13f7f27fd2 
								
							 
						 
						
							
							
								
								Remove 'message' parameter from pytest.raises  
							
							
							
						 
						
							2019-06-30 13:18:06 -03:00  
				
					
						
							
							
								 
						
							
								279733a30b 
								
							 
						 
						
							
							
								
								Remove support for 'code as string' from pytest.raises and pytest.warns  
							
							
							
						 
						
							2019-06-30 11:40:24 -03:00  
				
					
						
							
							
								 
						
							
								be91c4d932 
								
							 
						 
						
							
							
								
								Remove Request.getfuncargvalue  
							
							
							
						 
						
							2019-06-30 11:02:46 -03:00  
				
					
						
							
							
								 
						
							
								37fb50a3ed 
								
							 
						 
						
							
							
								
								Features assertion pass hook ( #3479 )  
							
							... 
							
							
							
							Features assertion pass hook 
							
						 
						
							2019-06-26 21:14:19 -03:00  
				
					
						
							
							
								 
						
							
								6f851e6cbb 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into features-assertion-pass-hook-master  
							
							... 
							
							
							
							# Conflicts:
#	src/_pytest/assertion/rewrite.py 
							
						 
						
							2019-06-26 18:12:56 +02:00  
				
					
						
							
							
								 
						
							
								ed85c83154 
								
							 
						 
						
							
							
								
								Deprecate funcargnames alias  
							
							
							
						 
						
							2019-06-26 08:53:17 +10:00  
				
					
						
							
							
								 
						
							
								95714436a1 
								
							 
						 
						
							
							
								
								Pickup additional positional args passed to _parse_parametrize_args  
							
							
							
						 
						
							2019-06-24 20:43:52 -04:00  
				
					
						
							
							
								 
						
							
								9a89783fbb 
								
							 
						 
						
							
							
								
								Assertion passed hook  
							
							
							
						 
						
							2019-06-24 16:09:39 +02:00  
				
					
						
							
							
								 
						
							
								689ce112e7 
								
							 
						 
						
							
							
								
								Small cleanups on _pytest.compat ( #5451 )  
							
							... 
							
							
							
							Small cleanups on _pytest.compat 
							
						 
						
							2019-06-16 10:42:07 -03:00  
				
					
						
							
							
								 
						
							
								177af032d2 
								
							 
						 
						
							
							
								
								Remove unused/unneeded code  
							
							
							
						 
						
							2019-06-15 10:45:16 -03:00  
				
					
						
							
							
								 
						
							
								2b92fee1c3 
								
							 
						 
						
							
							
								
								initial conversion of exit codes to enum  
							
							
							
						 
						
							2019-06-15 06:48:00 +02:00  
				
					
						
							
							
								 
						
							
								ccd87f9e80 
								
							 
						 
						
							
							
								
								small mypy fixes  
							
							
							
						 
						
							2019-06-06 09:13:02 -07:00  
				
					
						
							
							
								 
						
							
								8f5cb461a8 
								
							 
						 
						
							
							
								
								Turn PytestDeprecationWarning into error  
							
							... 
							
							
							
							Fix  #5402  
						
							2019-06-05 19:02:52 -03:00  
				
					
						
							
							
								 
						
							
								be2be040f9 
								
							 
						 
						
							
							
								
								Clean up u' prefixes and py2 bytes conversions  
							
							
							
						 
						
							2019-06-04 17:50:34 -07:00  
				
					
						
							
							
								 
						
							
								5dcf85c17e 
								
							 
						 
						
							
							
								
								manual: remove dependence on six  
							
							
							
						 
						
							2019-06-03 12:08:02 -03:00  
				
					
						
							
							
								 
						
							
								4df529e5b9 
								
							 
						 
						
							
							
								
								Clean up __future__ and coding: in tests  
							
							
							
						 
						
							2019-06-03 12:08:02 -03:00  
				
					
						
							
							
								 
						
							
								a91fe1fedd 
								
							 
						 
						
							
							
								
								pre-commit run pyupgrade --all-files  
							
							
							
						 
						
							2019-06-03 12:08:02 -03:00  
				
					
						
							
							
								 
						
							
								5034399d7a 
								
							 
						 
						
							
							
								
								pre-commit run fix-encoding-pragma --all-files  
							
							
							
						 
						
							2019-06-03 12:08:01 -03:00  
				
					
						
							
							
								 
						
							
								4d49ba6529 
								
							 
						 
						
							
							
								
								Drop Python 2.7 and 3.4 support  
							
							... 
							
							
							
							* Update setup.py requires and classifiers
* Drop Python 2.7 and 3.4 from CI
* Update docs dropping 2.7 and 3.4 support
* Fix mock imports and remove tests related to pypi's mock module
* Add py27 and 34 support docs to the sidebar
* Remove usage of six from tmpdir
* Remove six.PY* code blocks
* Remove sys.version_info related code
* Cleanup compat
* Remove obsolete safe_str
* Remove obsolete __unicode__ methods
* Remove compat.PY35 and compat.PY36: not really needed anymore
* Remove unused UNICODE_TYPES
* Remove Jython specific code
* Remove some Python 2 references from docs
Related to #5275  
							
						 
						
							2019-06-02 14:39:11 -03:00  
				
					
						
							
							
								 
						
							
								65bd1b8a93 
								
							 
						 
						
							
							
								
								Avoiding looking upwards for parameter argnames when generating fixtureinfo.  
							
							
							
						 
						
							2019-05-30 23:42:04 +02:00  
				
					
						
							
							
								 
						
							
								5cbc06a453 
								
							 
						 
						
							
							
								
								Show test module in the PytestCollectionWarning message  
							
							... 
							
							
							
							Related to #5330  
							
						 
						
							2019-05-30 08:18:28 -03:00  
				
					
						
							
							
								 
						
							
								66f20b6f5e 
								
							 
						 
						
							
							
								
								Fix invalid Python file encoding "utf8" ( #5252 )  
							
							... 
							
							
							
							Fix invalid Python file encoding "utf8" 
							
						 
						
							2019-05-23 20:24:23 -03:00  
				
					
						
							
							
								 
						
							
								8a498700da 
								
							 
						 
						
							
							
								
								Add tests for  #5286  
							
							
							
						 
						
							2019-05-22 03:56:52 +09:00  
				
					
						
							
							
								 
						
							
								dc75b6af47 
								
							 
						 
						
							
							
								
								Use fix-encoding-pragma pre-commit hook  
							
							
							
						 
						
							2019-05-14 15:56:31 -07:00  
				
					
						
							
							
								 
						
							
								7573747cda 
								
							 
						 
						
							
							
								
								Normalize all source encoding declarations  
							
							
							
						 
						
							2019-05-14 19:42:44 -03:00  
				
					
						
							
							
								 
						
							
								f1183c2422 
								
							 
						 
						
							
							
								
								Remove the 'issue' marker from test suite  
							
							... 
							
							
							
							It doesn't seem to add much value (why would one execute tests
based on that marker?), plus using the docstring for that
encourages one to write a more descriptive message about the test 
							
						 
						
							2019-05-09 19:36:38 -03:00  
				
					
						
							
							
								 
						
							
								6d040370ed 
								
							 
						 
						
							
							
								
								Show fixture scopes with ``--fixtures``, except for "function" scope  
							
							... 
							
							
							
							Fix  #5220  
						
							2019-05-07 14:32:20 -03:00  
				
					
						
							
							
								 
						
							
								6f0a5789fb 
								
							 
						 
						
							
							
								
								Merge master into features  
							
							
							
						 
						
							2019-04-14 23:22:21 +02:00  
				
					
						
							
							
								 
						
							
								da2e092163 
								
							 
						 
						
							
							
								
								pre-commit autoupdate  
							
							
							
						 
						
							2019-04-12 04:52:47 -07:00  
				
					
						
							
							
								 
						
							
								00810b9b2a 
								
							 
						 
						
							
							
								
								Register "issue" mark for self-tests  
							
							
							
						 
						
							2019-03-31 14:22:30 +11:00  
				
					
						
							
							
								 
						
							
								e1ae469504 
								
							 
						 
						
							
							
								
								Merge master into features  
							
							
							
						 
						
							2019-03-26 10:23:21 +01:00  
				
					
						
							
							
								 
						
							
								58a14b6b99 
								
							 
						 
						
							
							
								
								Merge pull request  #4986  from blueyed/fnmatch_lines-list  
							
							... 
							
							
							
							tests: fnmatch_lines: use list 
							
						 
						
							2019-03-25 23:31:04 +01:00  
				
					
						
							
							
								 
						
							
								3127ec737b 
								
							 
						 
						
							
							
								
								Fix pytest's own tests with `-W error::ResourceWarning`  
							
							
							
						 
						
							2019-03-24 11:05:00 +01:00  
				
					
						
							
							
								 
						
							
								08f3b02dfc 
								
							 
						 
						
							
							
								
								tests: fnmatch_lines: use list  
							
							... 
							
							
							
							For strings fnmatch_lines converts it into a Source objects, splitted on
newlines.  This is not necessary here, and it is more consistent to use
lists here in the first place. 
							
						 
						
							2019-03-23 11:36:18 +01:00  
				
					
						
							
							
								 
						
							
								05d55b86df 
								
							 
						 
						
							
							
								
								tests: minor sys.path cleanup  
							
							
							
						 
						
							2019-03-22 16:20:55 +01:00  
				
					
						
							
							
								 
						
							
								d441fa66fe 
								
							 
						 
						
							
							
								
								Fix line offsets with `ScopeMismatch` errors  
							
							... 
							
							
							
							Fixes https://github.com/pytest-dev/pytest/issues/4928 . 
							
						 
						
							2019-03-15 02:47:33 +01:00  
				
					
						
							
							
								 
						
							
								c334adc78f 
								
							 
						 
						
							
							
								
								Apply suggestions from code review  
							
							... 
							
							
							
							Co-Authored-By: nicoddemus <nicoddemus@gmail.com> 
							
						 
						
							2019-03-03 11:20:00 -03:00  
				
					
						
							
							
								 
						
							
								6a2d122a50 
								
							 
						 
						
							
							
								
								Remove code debugging leftovers  
							
							
							
						 
						
							2019-03-02 09:56:15 -03:00  
				
					
						
							
							
								 
						
							
								d97473e551 
								
							 
						 
						
							
							
								
								Add test and CHANGELOG for  #1895  
							
							
							
						 
						
							2019-03-02 09:39:30 -03:00  
				
					
						
							
							
								 
						
							
								525639eaa0 
								
							 
						 
						
							
							
								
								Rename fixtures testing file to be consistent with the module name  
							
							
							
						 
						
							2019-03-02 09:37:30 -03:00  
				
					
						
							
							
								 
						
							
								7dceabfcb2 
								
							 
						 
						
							
							
								
								Ensure fixtures obtained with getfixturevalue() are finalized in the correct order  
							
							... 
							
							
							
							Fix  #1895  
						
							2019-03-02 09:36:16 -03:00  
				
					
						
							
							
								 
						
							
								4c7ddb8d9b 
								
							 
						 
						
							
							
								
								Fix `parametrize(... ids=<function>)` when the function returns non-strings.  
							
							
							
						 
						
							2019-02-07 12:25:59 -08:00  
				
					
						
							
							
								 
						
							
								2264db7f4a 
								
							 
						 
						
							
							
								
								Merge pull request  #4682  from arel/parameterize-conditional-raises-document-only  
							
							... 
							
							
							
							Document parametrizing conditional raises 
							
						 
						
							2019-02-02 13:15:26 -08:00