Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								33861098d9 
								
							 
						 
						
							
							
								
								Only re-enable fauthandler during unconfigure if it was enabled before  
							
							 
							
							
							
						 
						
							2021-01-25 12:28:00 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								adc0f29b8f 
								
							 
						 
						
							
							
								
								Always handle faulthandler stderr even if already enabled  
							
							 
							
							... 
							
							
							
							It seems the code that would not install pytest's faulthandler support
if it was already enabled is not really needed at all, and even detrimental
when using `python -X dev -m pytest` to run Python in "dev" mode.
Also simplified the plugin by removing the hook class, now the hooks
will always be active so there's no need to delay the hook definitions anymore.
Fix  #8258  
							
						 
						
							2021-01-20 10:29:05 -03:00  
						
					 
				
					
						
							
							
								 
								Andreas Motl
							
						 
						
							 
							
							
							
							
								
							
							
								9ba1821e91 
								
							 
						 
						
							
							
								
								Fix faulthandler for Twisted Logger when used with "--capture=no"  
							
							 
							
							... 
							
							
							
							The Twisted Logger will return an invalid file descriptor since it is
not backed by an FD. So, let's also forward this to the same code path
as with `pytest-xdist`. 
							
						 
						
							2021-01-18 17:51:08 +01:00  
						
					 
				
					
						
							
							
								 
								Josias Aurel
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								fa148eadfe 
								
							 
						 
						
							
							
								
								Update testing/test_faulthandler.py  
							
							 
							
							... 
							
							
							
							Co-authored-by: Sanket Duthade <duthades@gmail.com> 
							
						 
						
							2020-11-11 18:35:06 +01:00  
						
					 
				
					
						
							
							
								 
								Josias Aurel
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								06a597db14 
								
							 
						 
						
							
							
								
								Add type annotations  
							
							 
							
							
							
						 
						
							2020-11-11 05:02:32 +01:00  
						
					 
				
					
						
							
							
								 
								Josias Aurel
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								1ed8159c7d 
								
							 
						 
						
							
							
								
								Update testing/test_faulthandler.py  
							
							 
							
							... 
							
							
							
							Co-authored-by: Sanket Duthade <duthades@gmail.com> 
							
						 
						
							2020-11-11 04:45:57 +01:00  
						
					 
				
					
						
							
							
								 
								Josias Aurel
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								8320c07134 
								
							 
						 
						
							
							
								
								Update testing/test_faulthandler.py  
							
							 
							
							... 
							
							
							
							Co-authored-by: Sanket Duthade <duthades@gmail.com> 
							
						 
						
							2020-11-11 04:45:42 +01:00  
						
					 
				
					
						
							
							
								 
								Josias Aurel
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								043ed55056 
								
							 
						 
						
							
							
								
								Migrate from testdir to pytester  
							
							 
							
							
							
						 
						
							2020-11-09 18:07:34 +01:00  
						
					 
				
					
						
							
							
								 
								Anthony Sottile
							
						 
						
							 
							
							
							
							
								
							
							
								66bd44c13a 
								
							 
						 
						
							
							
								
								py36+: pyupgrade: py36+  
							
							 
							
							
							
						 
						
							2020-10-03 12:46:54 -07:00  
						
					 
				
					
						
							
							
								 
								Ran Benita
							
						 
						
							 
							
							
							
							
								
							
							
								b8471aa527 
								
							 
						 
						
							
							
								
								testing: fix some docstring issues  
							
							 
							
							... 
							
							
							
							In preparation for enforcing some docstring lints. 
							
						 
						
							2020-08-03 10:10:43 +03:00  
						
					 
				
					
						
							
							
								 
								Ran Benita
							
						 
						
							 
							
							
							
							
								
							
							
								5a5fd01ebe 
								
							 
						 
						
							
							
								
								Skip flaky test test_faulthandler.py::test_timeout[True]  
							
							 
							
							... 
							
							
							
							It occasionally crashes on CI, the reason seems out of our control, or
at least we can't figure it out. 
							
						 
						
							2020-04-09 17:23:54 +03:00  
						
					 
				
					
						
							
							
								 
								Ran Benita
							
						 
						
							 
							
							
							
							
								
							
							
								eab0a6e34d 
								
							 
						 
						
							
							
								
								Revert "Increase test_faulthandler.py::test_timeout sleep duration on CI"  
							
							 
							
							
							
						 
						
							2020-04-07 13:20:35 +03:00  
						
					 
				
					
						
							
							
								 
								Ran Benita
							
						 
						
							 
							
							
							
							
								
							
							
								7da3e3aaad 
								
							 
						 
						
							
							
								
								Increase test_faulthandler.py::test_timeout sleep duration on CI  
							
							 
							
							... 
							
							
							
							This might help fix some flakiness. 
							
						 
						
							2020-04-06 11:55:03 +03:00  
						
					 
				
					
						
							
							
								 
								Daniel Hahler
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								81a9df6ed1 
								
							 
						 
						
							
							
								
								tests: fix flaky test_timeout ( #6773 )  
							
							 
							
							... 
							
							
							
							Use a longer timeout on CI - seen a failure with it with GHA (Windows).
Ref: a4554e666a 
							
						 
						
							2020-02-21 12:52:31 +01:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								3ea74310d7 
								
							 
						 
						
							
							
								
								Fix crash when faulthandler starts initialized ( #6598 )  
							
							 
							
							... 
							
							
							
							Use suggestion in review and use a subplugin so hooks will only be active
if we enable faulthandler ourselves.
Fix  #6575 
Co-authored-by: Daniel Hahler <git@thequod.de> 
							
						 
						
							2020-02-12 11:06:20 +01:00  
						
					 
				
					
						
							
							
								 
								Daniel Hahler
							
						 
						
							 
							
							
							
							
								
							
							
								5049e25a6a 
								
							 
						 
						
							
							
								
								tests: cleanup unused fixtures  
							
							 
							
							
							
						 
						
							2020-01-16 21:12:48 +01:00  
						
					 
				
					
						
							
							
								 
								Daniel Hahler
							
						 
						
							 
							
							
							
							
								
							
							
								a4554e666a 
								
							 
						 
						
							
							
								
								tests: speed up test_faulthandler.test_timeout  
							
							 
							
							
							
						 
						
							2019-10-28 13:44:06 +01:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								3ce31b6370 
								
							 
						 
						
							
							
								
								Change pytest-faulthandler for simplification  
							
							 
							
							... 
							
							
							
							* The --no-faulthandler option is not necessary given that we can use
  `-p no:faulthandler`.
* The `--faulthandler-timeout` command-line option has become an ini
  option, for the reasons described in
  https://github.com/pytest-dev/pytest-faulthandler/issues/34  and
  users can still set it from the command-line.
Fix  pytest-dev/pytest-faulthandler#34  
							
						 
						
							2019-06-22 19:22:43 -03:00  
						
					 
				
					
						
							
							
								 
								Bruno Oliveira
							
						 
						
							 
							
							
							
							
								
							
							
								a37b902afe 
								
							 
						 
						
							
							
								
								Integrate pytest-faulthandler into the core  
							
							 
							
							... 
							
							
							
							* Add pytest-faulthandler files unchanged
* Adapt imports and tests
* Add code to skip registration of the external `pytest_faulthandler`
  to avoid conflicts
Fix  #5440  
							
						 
						
							2019-06-21 21:02:24 -03:00