61080da89d 
								
							 
						 
						
							
							
								
								Merge pull request  #4192  from asottile/fix_recwarn_stacklevel  
							
							... 
							
							
							
							Fix filename reported by `warnings.warn` when using `recwarn` under python2. 
							
						 
						
							2018-10-18 16:22:00 -07:00  
				
					
						
							
							
								 
						
							
								1b51497936 
								
							 
						 
						
							
							
								
								[WIP] Update warning stacklevel when wrapping warnings.warn  
							
							
							
						 
						
							2018-10-18 02:36:41 +00:00  
				
					
						
							
							
								 
						
							
								56dd7bc551 
								
							 
						 
						
							
							
								
								TestNumberedDir: ignore that symlinks arent created on windows  
							
							
							
						 
						
							2018-10-17 21:39:23 +02:00  
				
					
						
							
							
								 
						
							
								8dca8f3c9f 
								
							 
						 
						
							
							
								
								fix test_cleanup_keep for expecting symlinks  
							
							
							
						 
						
							2018-10-17 21:16:44 +02:00  
				
					
						
							
							
								 
						
							
								cc335d44a0 
								
							 
						 
						
							
							
								
								fix   #4179  - bring back the current testrun symlink  
							
							
							
						 
						
							2018-10-17 20:43:27 +02:00  
				
					
						
							
							
								 
						
							
								ee0a306ee4 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/features' into merge-features-into-master  
							
							
							
						 
						
							2018-10-16 17:41:27 -03:00  
				
					
						
							
							
								 
						
							
								f858177495 
								
							 
						 
						
							
							
								
								Merge pull request  #4167  from vbarbaresi/3533_junit_escape_skipped  
							
							... 
							
							
							
							Fix  #3533 : properly escape raw XML object 
						
							2018-10-16 21:10:42 +05:30  
				
					
						
							
							
								 
						
							
								54b8ad4554 
								
							 
						 
						
							
							
								
								Merge pull request  #4159  from thisch/subclassedfile  
							
							... 
							
							
							
							Increase required verbosity level for debug output 
							
						 
						
							2018-10-16 10:41:27 -03:00  
				
					
						
							
							
								 
						
							
								f55ded20a9 
								
							 
						 
						
							
							
								
								fix   #3533 : properly escape raw XML object  
							
							... 
							
							
							
							Using string formatting with the raw escaped object lead to string evaluation
"<py._xmlgen.raw object>"
Format the unescaped string first, then use the XML escape method as a last step. 
							
						 
						
							2018-10-16 14:46:39 +02:00  
				
					
						
							
							
								 
						
							
								e8c220b9bd 
								
							 
						 
						
							
							
								
								Increase required verbosity level for debug output  
							
							... 
							
							
							
							To show the subclassed file in legacy test suits in the runtest output
you have to set the verbosity level to at least "-vv" now.
Closes  #3211  
							
						 
						
							2018-10-15 20:38:32 +02:00  
				
					
						
							
							
								 
						
							
								9646a1cd7a 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2018-10-15 12:55:28 -03:00  
				
					
						
							
							
								 
						
							
								141c51f0cb 
								
							 
						 
						
							
							
								
								Merge pull request  #4145  from labcodes/4098  
							
							... 
							
							
							
							Add returncode argument to pytest.exit 
							
						 
						
							2018-10-15 11:04:11 +05:30  
				
					
						
							
							
								 
						
							
								ced62f30ba 
								
							 
						 
						
							
							
								
								Attempt to create symlinks even on Windows, skipping when not possible  
							
							
							
						 
						
							2018-10-14 18:21:04 -03:00  
				
					
						
							
							
								 
						
							
								766d2daa06 
								
							 
						 
						
							
							
								
								Update returncode exit test to check exitstatus returrned from test session  
							
							
							
						 
						
							2018-10-14 16:41:16 -03:00  
				
					
						
							
							
								 
						
							
								1dfa303b1e 
								
							 
						 
						
							
							
								
								fix   #4135  - handle symlinks in tmp path cleanup  
							
							
							
						 
						
							2018-10-14 21:20:34 +02: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  
				
					
						
							
							
								 
						
							
								ce55dcf64c 
								
							 
						 
						
							
							
								
								Add test for calling pytest.exit with statuscode  
							
							... 
							
							
							
							It checks that a SystemError was raised and the SystemError code
is the same as the returncode argument. 
							
						 
						
							2018-10-14 12:29:19 -03:00  
				
					
						
							
							
								 
						
							
								486ded3fca 
								
							 
						 
						
							
							
								
								Fix flaky durations test  
							
							... 
							
							
							
							Unfortunately due to fluctuations in runtime "test_something"
might still appear in the final message.
Example failure:
https://ci.appveyor.com/project/pytestbot/pytest/builds/19494829/job/8lx847u0c78m63wf  
							
						 
						
							2018-10-14 12:22:56 -03:00  
				
					
						
							
							
								 
						
							
								d6832a8b56 
								
							 
						 
						
							
							
								
								Merge pull request  #4133  from blueyed/pdb-quit  
							
							... 
							
							
							
							pdb: handle quitting in post_mortem 
							
						 
						
							2018-10-14 11:29:09 +02:00  
				
					
						
							
							
								 
						
							
								3bfaa8ab84 
								
							 
						 
						
							
							
								
								Merge pull request  #4132  from blueyed/pdb-internal-dupe  
							
							... 
							
							
							
							Do not print (duplicate) INTERNALERROR with --pdb. 
							
						 
						
							2018-10-14 11:25:35 +02:00  
				
					
						
							
							
								 
						
							
								9fb305b17b 
								
							 
						 
						
							
							
								
								Merge pull request  #4086  from jeffreyrack/4063-exclude-0-durations  
							
							... 
							
							
							
							Exclude durations that are 0.00 seconds long. 
							
						 
						
							2018-10-13 22:16:04 -03:00  
				
					
						
							
							
								 
						
							
								e3bf9cede4 
								
							 
						 
						
							
							
								
								Fix linting  
							
							
							
						 
						
							2018-10-13 22:13:25 -03:00  
				
					
						
							
							
								 
						
							
								86c7dcff68 
								
							 
						 
						
							
							
								
								pdb: handle quitting in post_mortem  
							
							... 
							
							
							
							`help quit` in pdb says:
> Quit from the debugger. The program being executed is aborted.
But pytest would continue with the next tests, often making it necessary
to kill the pytest process when using `--pdb` and trying to cancel the
tests using `KeyboardInterrupt` / `Ctrl-C`. 
							
						 
						
							2018-10-14 00:05:45 +02:00  
				
					
						
							
							
								 
						
							
								7268462b33 
								
							 
						 
						
							
							
								
								Resolve symlinks for args  
							
							... 
							
							
							
							This fixes running `pytest tests/test_foo.py::test_bar`, where `tests`
is a symlink to `project/app/tests`: previously
`project/app/conftest.py` would be ignored for fixtures then. 
							
						 
						
							2018-10-13 23:59:05 +02:00  
				
					
						
							
							
								 
						
							
								448830e656 
								
							 
						 
						
							
							
								
								Do not print INTERNALERROR with --pdb  
							
							... 
							
							
							
							This gets printed by the terminal reporter already, and currently
results in the same error being displayed twice, e.g. when raising an
`Exception` manually from `pytest.debugging.pytest_exception_interact`. 
							
						 
						
							2018-10-13 23:56:34 +02:00  
				
					
						
							
							
								 
						
							
								3683d92c53 
								
							 
						 
						
							
							
								
								Adjust the 'durations hidden' message  
							
							
							
						 
						
							2018-10-13 18:40:32 -03:00  
				
					
						
							
							
								 
						
							
								d3d8d53e41 
								
							 
						 
						
							
							
								
								tests: test_pdb: fix print statements  
							
							
							
						 
						
							2018-10-13 23:33:52 +02:00  
				
					
						
							
							
								 
						
							
								24c83d725a 
								
							 
						 
						
							
							
								
								Merge pull request  #4129  from nicoddemus/merge-master-into-features  
							
							... 
							
							
							
							Merge master into features (prepare for 3.9) 
							
						 
						
							2018-10-13 12:05:54 -03:00  
				
					
						
							
							
								 
						
							
								6bf4692c7d 
								
							 
						 
						
							
							
								
								acceptance_test: clarify/document/fix tests  
							
							... 
							
							
							
							Ref: e2e6e31711 (r30863971) 
							
						 
						
							2018-10-13 14:41:17 +02:00  
				
					
						
							
							
								 
						
							
								81426c3d19 
								
							 
						 
						
							
							
								
								tests: harden test_cmdline_python_package_symlink  
							
							
							
						 
						
							2018-10-13 14:41:12 +02:00  
				
					
						
							
							
								 
						
							
								29d5849519 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2018-10-13 08:50:32 -03:00  
				
					
						
							
							
								 
						
							
								8e11fe5304 
								
							 
						 
						
							
							
								
								Improve tracebacks for ImportErrors in conftest.py files  
							
							... 
							
							
							
							Fix  #3332  
						
							2018-10-12 10:10:55 -03:00  
				
					
						
							
							
								 
						
							
								36dc671843 
								
							 
						 
						
							
							
								
								New ExceptionInfo.getrepr 'chain' parameter to be able to suppress chained exceptions  
							
							
							
						 
						
							2018-10-12 10:08:55 -03:00  
				
					
						
							
							
								 
						
							
								933de16fe4 
								
							 
						 
						
							
							
								
								Merge pull request  #3988  from RonnyPfannschmidt/tmpdir-port-pathlib  
							
							... 
							
							
							
							Tmpdir port pathlib 
							
						 
						
							2018-10-12 08:33:47 -03:00  
				
					
						
							
							
								 
						
							
								e8348a1d12 
								
							 
						 
						
							
							
								
								Merge pull request  #4077  from nicoddemus/short-usage-errors  
							
							... 
							
							
							
							Improve internal error messages 
							
						 
						
							2018-10-12 08:18:07 -03:00  
				
					
						
							
							
								 
						
							
								0f5263cdc3 
								
							 
						 
						
							
							
								
								Merge pull request  #4109  from njonesu/master  
							
							... 
							
							
							
							Fix multiple string literals on a line #4093  
							
						 
						
							2018-10-11 15:50:08 -03:00  
				
					
						
							
							
								 
						
							
								b82d6f7a0b 
								
							 
						 
						
							
							
								
								pytester: use per test tmproot  
							
							
							
						 
						
							2018-10-11 07:15:09 +02:00  
				
					
						
							
							
								 
						
							
								3036914097 
								
							 
						 
						
							
							
								
								sort out rmtree expectations  
							
							
							
						 
						
							2018-10-11 07:15:09 +02:00  
				
					
						
							
							
								 
						
							
								2831cb9ab5 
								
							 
						 
						
							
							
								
								unify paths.py and pathlib.py  
							
							
							
						 
						
							2018-10-11 07:15:09 +02:00  
				
					
						
							
							
								 
						
							
								00716177b4 
								
							 
						 
						
							
							
								
								fix missed Path import  
							
							
							
						 
						
							2018-10-11 07:15:09 +02:00  
				
					
						
							
							
								 
						
							
								85cc9b8f12 
								
							 
						 
						
							
							
								
								move all the things into _pytest.pathlib  
							
							
							
						 
						
							2018-10-11 07:15:08 +02:00  
				
					
						
							
							
								 
						
							
								d76fa59b35 
								
							 
						 
						
							
							
								
								fix lock timeouts for good this time  
							
							
							
						 
						
							2018-10-11 07:15:08 +02:00  
				
					
						
							
							
								 
						
							
								642cd86dd1 
								
							 
						 
						
							
							
								
								shape up removal and lock destruction  
							
							
							
						 
						
							2018-10-11 07:15:08 +02:00  
				
					
						
							
							
								 
						
							
								ab3637d486 
								
							 
						 
						
							
							
								
								implement cleanup for unlocked folders  
							
							
							
						 
						
							2018-10-11 07:15:08 +02:00  
				
					
						
							
							
								 
						
							
								66a690928c 
								
							 
						 
						
							
							
								
								bring in purepath and fix an assertion  
							
							
							
						 
						
							2018-10-11 07:15:08 +02:00  
				
					
						
							
							
								 
						
							
								b48e23d54c 
								
							 
						 
						
							
							
								
								port interals of tmpdir to a basic pathlib implementation  
							
							... 
							
							
							
							this is still lacking locking and cleanup of the folders 
							
						 
						
							2018-10-11 07:15:08 +02:00  
				
					
						
							
							
								 
						
							
								c9a85b0e78 
								
							 
						 
						
							
							
								
								Fix linting  
							
							
							
						 
						
							2018-10-10 19:54:39 -03: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  
				
					
						
							
							
								 
						
							
								be511c1a05 
								
							 
						 
						
							
							
								
								tests: add missing expect before sendeof for pdbpp  
							
							... 
							
							
							
							With pdb++ this additional `expect` is required, otherwise `sendeof()`
will block forever. 
							
						 
						
							2018-10-10 20:50:49 +02:00  
				
					
						
							
							
								 
						
							
								f36f9d2698 
								
							 
						 
						
							
							
								
								tests: fix/clarify expect for Pdb  
							
							... 
							
							
							
							`expect()` expects an regular expression, so "Pdb" is equivalent to
"(Pdb)".
But instead of escaping the parenthesis this patch removes them, to
allow for matching "(Pdb++)", too. 
							
						 
						
							2018-10-10 20:50:49 +02:00