1eef53b6fe 
								
							 
						 
						
							
							
								
								Update --collect-only to display test descriptions when ran in verbose mode.  
							
							
							
						 
						
							2018-12-29 22:46:46 -08:00  
				
					
						
							
							
								 
						
							
								9f9f6ee48b 
								
							 
						 
						
							
							
								
								remove most of markertransfer  
							
							... 
							
							
							
							keywords are still a big issue 
							
						 
						
							2018-12-21 14:02:38 +01:00  
				
					
						
							
							
								 
						
							
								c378cb4793 
								
							 
						 
						
							
							
								
								Remove support for applying marks to values in parametrize  
							
							... 
							
							
							
							Fix  #3082  
						
							2018-12-20 16:16:13 -02:00  
				
					
						
							
							
								 
						
							
								d888d5c933 
								
							 
						 
						
							
							
								
								Merge pull request  #4565  from nicoddemus/flaky-test  
							
							... 
							
							
							
							Use mocking to make test_junit_duration_report deterministic 
							
						 
						
							2018-12-20 08:52:34 +01:00  
				
					
						
							
							
								 
						
							
								a93f41233a 
								
							 
						 
						
							
							
								
								Raise an error if pytest_plugins is defined in a non-top-level conftest.py file  
							
							... 
							
							
							
							Fix  #4548  
						
							2018-12-19 18:09:47 -02:00  
				
					
						
							
							
								 
						
							
								9138419379 
								
							 
						 
						
							
							
								
								Remove support for '[pytest]' section in setup.cfg file  
							
							... 
							
							
							
							Fix  #3086  
						
							2018-12-19 17:43:17 -02:00  
				
					
						
							
							
								 
						
							
								197fd69ddc 
								
							 
						 
						
							
							
								
								Use mocking to make test_junit_duration_report deterministic  
							
							... 
							
							
							
							Fix  #4563  
						
							2018-12-19 17:13:12 -02:00  
				
					
						
							
							
								 
						
							
								0115766df3 
								
							 
						 
						
							
							
								
								Calling fixtures directly is now an error instead of a warning  
							
							... 
							
							
							
							Fix  #4545  
						
							2018-12-19 09:26:29 -02:00  
				
					
						
							
							
								 
						
							
								8563364d8b 
								
							 
						 
						
							
							
								
								Merge pull request  #4542  from nicoddemus/remove-legacy-warn  
							
							... 
							
							
							
							Remove config.warn, Node.warn and pytest_logwarning 
							
						 
						
							2018-12-18 19:11:36 -02:00  
				
					
						
							
							
								 
						
							
								e63c7a13ff 
								
							 
						 
						
							
							
								
								Merge pull request  #4327  from ndevenish/approx  
							
							... 
							
							
							
							Let approx() work on more generic sequences 
							
						 
						
							2018-12-17 15:21:12 +01:00  
				
					
						
							
							
								 
						
							
								b7e8171cf8 
								
							 
						 
						
							
							
								
								Merge branch 'features' into remove-legacy-warn  
							
							
							
						 
						
							2018-12-17 10:37:31 -02:00  
				
					
						
							
							
								 
						
							
								75e93e5168 
								
							 
						 
						
							
							
								
								Merge pull request  #4556  from nicoddemus/idfunc-failure  
							
							... 
							
							
							
							Errors in parametrize id functions now propagate the error instead of issuing a warning 
							
						 
						
							2018-12-17 10:36:15 -02:00  
				
					
						
							
							
								 
						
							
								c6d27d8224 
								
							 
						 
						
							
							
								
								Merge pull request  #4555  from nicoddemus/remove-record-xml-pytest-main-str  
							
							... 
							
							
							
							Remove record_xml_property and support for strings in pytest.main() 
							
						 
						
							2018-12-17 10:08:51 -02:00  
				
					
						
							
							
								 
						
							
								84390acccc 
								
							 
						 
						
							
							
								
								Merge pull request  #4553  from nicoddemus/junit-durations  
							
							... 
							
							
							
							Rename "junit_time" to "junit_duration_report" option 
							
						 
						
							2018-12-17 10:08:20 -02:00  
				
					
						
							
							
								 
						
							
								1499778d5e 
								
							 
						 
						
							
							
								
								Errors in parametrize id functions now propagate the error instead of issuing a warning  
							
							... 
							
							
							
							Fix  #2169  
						
							2018-12-14 21:07:54 -02:00  
				
					
						
							
							
								 
						
							
								a7e401656e 
								
							 
						 
						
							
							
								
								Remove support to pass strings to pytest.main()  
							
							... 
							
							
							
							Fix  #3085  
						
							2018-12-14 15:45:47 -02:00  
				
					
						
							
							
								 
						
							
								8e287c5c77 
								
							 
						 
						
							
							
								
								Merge master into features  
							
							
							
						 
						
							2018-12-14 16:44:43 +01:00  
				
					
						
							
							
								 
						
							
								231863b133 
								
							 
						 
						
							
							
								
								Rename "junit_time" to "junit_duration_report" option  
							
							... 
							
							
							
							Just realized while reading the changelog that "junit_time" is not a very good
name, so I decided to open this PR renaming it to "junit_duration_report" which
I believe conveys the meaning of the option better 
							
						 
						
							2018-12-14 12:56:26 -02:00  
				
					
						
							
							
								 
						
							
								fd48cd57f9 
								
							 
						 
						
							
							
								
								Remove config.warn, Node.warn; pytest_logwarning issues a warning when implemented  
							
							... 
							
							
							
							Fix  #3078  
						
							2018-12-14 12:50:18 -02:00  
				
					
						
							
							
								 
						
							
								1e80a9cb34 
								
							 
						 
						
							
							
								
								Remove pytest_funcarg__ prefix support for defining fixtures  
							
							... 
							
							
							
							Fix  #4543  
						
							2018-12-13 21:41:38 -02:00  
				
					
						
							
							
								 
						
							
								26d202a7bd 
								
							 
						 
						
							
							
								
								Merge pull request  #4529  from aparamon/jxmlunit-call-time  
							
							... 
							
							
							
							Add --junittime=call option 
							
						 
						
							2018-12-13 13:51:06 -02:00  
				
					
						
							
							
								 
						
							
								b390c66dc4 
								
							 
						 
						
							
							
								
								Merge pull request  #4292  from blueyed/exit-outcome  
							
							... 
							
							
							
							Derive outcomes.exit.Exit from SystemExit instead of KeyboardInterrupt 
							
						 
						
							2018-12-13 13:43:39 -02:00  
				
					
						
							
							
								 
						
							
								f96e1b6f3e 
								
							 
						 
						
							
							
								
								Merge pull request  #4532  from nicoddemus/failure-summary  
							
							... 
							
							
							
							Change -ra to show errors and failures last, instead of first 
							
						 
						
							2018-12-13 10:30:28 -02:00  
				
					
						
							
							
								 
						
							
								5b83417afc 
								
							 
						 
						
							
							
								
								Deprecate the 'message' parameter of pytest.raises  
							
							... 
							
							
							
							Fix  #3974  
						
							2018-12-12 22:26:30 -02:00  
				
					
						
							
							
								 
						
							
								a254ad0436 
								
							 
						 
						
							
							
								
								Raise `TypeError` for `with raises(..., match=<non-None falsey value>)`.  
							
							
							
						 
						
							2018-12-12 14:59:22 -08:00  
				
					
						
							
							
								 
						
							
								6af674a3ac 
								
							 
						 
						
							
							
								
								Merge pull request  #4520  from blueyed/PYTEST_DISABLE_PLUGIN_AUTOLOAD-del  
							
							... 
							
							
							
							tests: fix tests that require PYTEST_DISABLE_PLUGIN_AUTOLOAD to be unset 
							
						 
						
							2018-12-12 18:40:46 +01:00  
				
					
						
							
							
								 
						
							
								e3d30f8ebf 
								
							 
						 
						
							
							
								
								Remove deprecated PyCollector.makeitem  
							
							... 
							
							
							
							Fix  #4535  
						
							2018-12-12 14:15:52 -02:00  
				
					
						
							
							
								 
						
							
								5d79baf3f8 
								
							 
						 
						
							
							
								
								Fix flaky test attempt 2  
							
							
							
						 
						
							2018-12-12 15:33:29 +03:00  
				
					
						
							
							
								 
						
							
								316cca204f 
								
							 
						 
						
							
							
								
								Switch to ini config parameter  
							
							
							
						 
						
							2018-12-12 13:19:39 +03:00  
				
					
						
							
							
								 
						
							
								0bccfc44a7 
								
							 
						 
						
							
							
								
								Fix flaky test  
							
							
							
						 
						
							2018-12-12 12:14:14 +03:00  
				
					
						
							
							
								 
						
							
								9839ceffe0 
								
							 
						 
						
							
							
								
								Change -ra to show errors and failures last, instead of first  
							
							... 
							
							
							
							Often in large test suites (like pytest's), the -ra summary is very useful
to obtain a list of failures so we can execute each test at once to fix them.
Problem is the default shows errors and failures first, which leads to a lot
of scrolling to get to them. 
							
						 
						
							2018-12-11 20:36:57 -02:00  
				
					
						
							
							
								 
						
							
								cfbd387a5d 
								
							 
						 
						
							
							
								
								Add --junittime=call option  
							
							
							
						 
						
							2018-12-11 19:29:31 +03:00  
				
					
						
							
							
								 
						
							
								bb363c8ff2 
								
							 
						 
						
							
							
								
								Merge pull request  #4528  from blueyed/parser-prog  
							
							... 
							
							
							
							argparsing: Parser: allow to forward prog to argparse 
							
						 
						
							2018-12-11 13:33:40 +01:00  
				
					
						
							
							
								 
						
							
								ebe0a88226 
								
							 
						 
						
							
							
								
								Merge pull request  #4522  from blueyed/p-no-space  
							
							... 
							
							
							
							Handle missing space with -p 
							
						 
						
							2018-12-11 13:33:18 +01:00  
				
					
						
							
							
								 
						
							
								3445eae737 
								
							 
						 
						
							
							
								
								argparsing: Parser: allow to forward prog to argparse  
							
							... 
							
							
							
							Ref: https://github.com/pytest-dev/pytest-xdist/pull/388 . 
							
						 
						
							2018-12-11 06:22:35 +01:00  
				
					
						
							
							
								 
						
							
								8152b6837e 
								
							 
						 
						
							
							
								
								Merge pull request  #4419  from blueyed/set_trace-kwargs  
							
							... 
							
							
							
							pdb: support kwargs with `pdb.set_trace` 
							
						 
						
							2018-12-11 04:28:24 +01:00  
				
					
						
							
							
								 
						
							
								0e4e8e00a9 
								
							 
						 
						
							
							
								
								Merge pull request  #4504  from feuillemorte/4278_add_cachedir_tag  
							
							... 
							
							
							
							#4278  Added a CACHEDIR.TAG file to the cache directory 
						
							2018-12-11 04:27:35 +01:00  
				
					
						
							
							
								 
						
							
								7b1cb885c7 
								
							 
						 
						
							
							
								
								Handle missing space with -p  
							
							... 
							
							
							
							This still does not use an actual argument parser, which only gets
instantiated below, and it does not appear to make sense instantiating
it just for this pre-parsing it seems.
`-p` without the required value is being handled before already though,
so it could potentially be passed down from somewhere already?!
Fixes https://github.com/pytest-dev/pytest/issues/3532 . 
							
						 
						
							2018-12-11 04:27:03 +01:00  
				
					
						
							
							
								 
						
							
								fc4aa27cae 
								
							 
						 
						
							
							
								
								Derive outcomes.exit.Exception from SystemExit instead of KeyboardInterrupt  
							
							... 
							
							
							
							This is required for properly getting out of pdb, where
KeyboardInterrupt is caught in py36 at least.
Ref: https://github.com/pytest-dev/pytest/issues/1865#issuecomment-242599949  
							
						 
						
							2018-12-11 04:22:33 +01:00  
				
					
						
							
							
								 
						
							
								539d3dc34d 
								
							 
						 
						
							
							
								
								Merge branch 'fix-test_raises_exception_looks_iterable' into merge-master  
							
							
							
						 
						
							2018-12-10 06:30:36 +01:00  
				
					
						
							
							
								 
						
							
								5ecbb02ace 
								
							 
						 
						
							
							
								
								tests: fix test_raises_exception_looks_iterable  
							
							... 
							
							
							
							Started to fail on py37-xdist between
https://travis-ci.org/pytest-dev/pytest/jobs/465498973  and
https://travis-ci.org/pytest-dev/pytest/jobs/465792343 , but could not
find a diff in versions (from the tox header), and both commits failed
locally. 
							
						 
						
							2018-12-10 06:26:32 +01:00  
				
					
						
							
							
								 
						
							
								0db5ccb0dd 
								
							 
						 
						
							
							
								
								Merge master into features  
							
							
							
						 
						
							2018-12-10 05:42:07 +01:00  
				
					
						
							
							
								 
						
							
								f3babf13ea 
								
							 
						 
						
							
							
								
								Ensure that PYTEST_ADDOPTS are valid by themselves  
							
							... 
							
							
							
							Fixes https://github.com/pytest-dev/pytest/issues/4265 . 
							
						 
						
							2018-12-09 21:57:10 +01:00  
				
					
						
							
							
								 
						
							
								64ee1ee81b 
								
							 
						 
						
							
							
								
								tests: fix tests that require PYTEST_DISABLE_PLUGIN_AUTOLOAD to be unset  
							
							... 
							
							
							
							Fix pytest's own tests with PYTEST_DISABLE_PLUGIN_AUTOLOAD=1. 
							
						 
						
							2018-12-09 12:06:18 +01:00  
				
					
						
							
							
								 
						
							
								5ebacc49c6 
								
							 
						 
						
							
							
								
								Harden tests, fix doc/msg  
							
							
							
						 
						
							2018-12-05 19:22:44 +01:00  
				
					
						
							
							
								 
						
							
								e1e4b226c6 
								
							 
						 
						
							
							
								
								👌  Address code review  
							
							... 
							
							
							
							Edited the changelog for extra clarity, and to fire off auto-formatting
Oddly enough, keeping `filename='{filename!r}'` caused an error while
collecting tests, but getting rid of the single ticks fixed it
Hopefully closes  #3191  
							
						 
						
							2018-12-05 10:52:12 +02:00  
				
					
						
							
							
								 
						
							
								e0c2ab1901 
								
							 
						 
						
							
							
								
								Fix tests not to assert a function that already asserts  
							
							... 
							
							
							
							Maybe there should be a warning about that too? 
							
						 
						
							2018-12-05 10:41:30 +02:00  
				
					
						
							
							
								 
						
							
								9fc9b2926f 
								
							 
						 
						
							
							
								
								Fix tests and add aditional cases  
							
							... 
							
							
							
							As requested by review.
👌  Address code review for tests 
							
						 
						
							2018-12-05 10:41:30 +02:00  
				
					
						
							
							
								 
						
							
								1654b77ca0 
								
							 
						 
						
							
							
								
								[ #3191 ] Set up tests to confirm warnings  
							
							
							
						 
						
							2018-12-05 10:41:18 +02:00  
				
					
						
							
							
								 
						
							
								d237197de3 
								
							 
						 
						
							
							
								
								#4278  Added a CACHEDIR.TAG file to the cache directory  
							
							
							
						 
						
							2018-12-04 13:49:08 +01:00