148f2fc72c 
								
							 
						 
						
							
							
								
								Fix test_error_during_readouterr: syspathinsert is unused  
							
							
							
						 
						
							2019-04-10 21:57:45 +02: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  
				
					
						
							
							
								 
						
							
								d0f3f26fff 
								
							 
						 
						
							
							
								
								test_collect_capturing: cover captured stderr  
							
							
							
						 
						
							2019-03-23 23:17:07 +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  
				
					
						
							
							
								 
						
							
								da81c1e49a 
								
							 
						 
						
							
							
								
								Merge pull request  #4950  from blueyed/capture  
							
							... 
							
							
							
							Revisit capturing module: repr, doc fixes, minor 
							
						 
						
							2019-03-20 01:12:22 +01:00  
				
					
						
							
							
								 
						
							
								920bffbfbb 
								
							 
						 
						
							
							
								
								Revisit _pytest.capture: repr, doc fixes, minor  
							
							
							
						 
						
							2019-03-19 01:17:21 +01:00  
				
					
						
							
							
								 
						
							
								98981276a0 
								
							 
						 
						
							
							
								
								capture: fix FDCapture.__repr__ without targetfd_save  
							
							
							
						 
						
							2019-03-18 02:33:03 +01:00  
				
					
						
							
							
								 
						
							
								83558a0ba3 
								
							 
						 
						
							
							
								
								tests: make test_crash_on_closing_tmpfile_py27 more reliable  
							
							... 
							
							
							
							It fails reliable for me now without the fix from 9517c3a2a#2370  
							
						 
						
							2019-03-04 15:04:55 +01:00  
				
					
						
							
							
								 
						
							
								a51dc0c7ce 
								
							 
						 
						
							
							
								
								Validate type with writing to captured output like without  
							
							... 
							
							
							
							Fixes https://github.com/pytest-dev/pytest/issues/4861 . 
							
						 
						
							2019-03-01 14:03:51 +01:00  
				
					
						
							
							
								 
						
							
								a2954578aa 
								
							 
						 
						
							
							
								
								Remove stdlib test  
							
							
							
						 
						
							2019-01-22 20:25:51 +01:00  
				
					
						
							
							
								 
						
							
								92a2c1a9c4 
								
							 
						 
						
							
							
								
								remove and ban py.io.BytesIO, py.process, py.path.local.sysfind  
							
							
							
						 
						
							2019-01-21 19:51:16 -08:00  
				
					
						
							
							
								 
						
							
								0db5ccb0dd 
								
							 
						 
						
							
							
								
								Merge master into features  
							
							
							
						 
						
							2018-12-10 05:42:07 +01:00  
				
					
						
							
							
								 
						
							
								6da8befc74 
								
							 
						 
						
							
							
								
								Black suggestions  
							
							
							
						 
						
							2018-12-03 12:58:22 +00:00  
				
					
						
							
							
								 
						
							
								14024c7fc1 
								
							 
						 
						
							
							
								
								Test case for  #4500  bug and respective  fix   #4487  
							
							
							
						 
						
							2018-12-03 12:17:14 +00:00  
				
					
						
							
							
								 
						
							
								517b8bc69e 
								
							 
						 
						
							
							
								
								Stop using the deprecated `\.warn()` log handler method  
							
							
							
						 
						
							2018-12-03 11:52:33 +00:00  
				
					
						
							
							
								 
						
							
								1bba0a9714 
								
							 
						 
						
							
							
								
								Deprecate `raises(..., 'code(as_a_string)')` / `warns(..., 'code(as_a_string)')  
							
							
							
						 
						
							2018-11-29 09:34:51 -08:00  
				
					
						
							
							
								 
						
							
								b3700f61ba 
								
							 
						 
						
							
							
								
								Fix formatting of print() calls  
							
							
							
						 
						
							2018-11-22 00:15:14 -08:00  
				
					
						
							
							
								 
						
							
								4bf6a07fe2 
								
							 
						 
						
							
							
								
								Merge pull request  #4305  from RonnyPfannschmidt/cleanup-tobytes  
							
							... 
							
							
							
							replace byte/unicode helpers in test_capture with python level syntax 
							
						 
						
							2018-11-04 17:29:41 -08:00  
				
					
						
							
							
								 
						
							
								7cb271b46f 
								
							 
						 
						
							
							
								
								replace byte/unicode helpers in test_capture with python level syntax  
							
							
							
						 
						
							2018-11-04 22:01:01 +01:00  
				
					
						
							
							
								 
						
							
								2368fbb63c 
								
							 
						 
						
							
							
								
								Apply reorder-python-imports to all files  
							
							
							
						 
						
							2018-10-25 00:01:29 -07:00  
				
					
						
							
							
								 
						
							
								8e4501ee29 
								
							 
						 
						
							
							
								
								Use std_warn for warning about applying marks directly to parameters  
							
							
							
						 
						
							2018-09-04 11:35:34 -03:00  
				
					
						
							
							
								 
						
							
								99e31f6fb1 
								
							 
						 
						
							
							
								
								Use `bytes` directly instead of `binary_type`  
							
							... 
							
							
							
							`bytes` is an alias for `str` in python2.6+ 
							
						 
						
							2018-08-23 18:55:21 -07:00  
				
					
						
							
							
								 
						
							
								85482d575e 
								
							 
						 
						
							
							
								
								Replace Source with dedent where possible  
							
							
							
						 
						
							2018-08-23 09:06:17 -07:00  
				
					
						
							
							
								 
						
							
								0fc4a806e5 
								
							 
						 
						
							
							
								
								py.builtins._totext -> string literals or six.text_type  
							
							
							
						 
						
							2018-08-22 23:00:04 -07:00  
				
					
						
							
							
								 
						
							
								f1079a8222 
								
							 
						 
						
							
							
								
								Merge pull request  #3832  from Sup3rGeo/bugfix/capsys-with-cli-logging  
							
							... 
							
							
							
							Bugfix/capsys with cli logging (again) 
							
						 
						
							2018-08-21 20:12:31 -03:00  
				
					
						
							
							
								 
						
							
								70ebab3537 
								
							 
						 
						
							
							
								
								Renamed snap_global_capture to read_global_capture.  
							
							
							
						 
						
							2018-08-20 17:48:14 +02:00  
				
					
						
							
							
								 
						
							
								d611b03589 
								
							 
						 
						
							
							
								
								Parametrized tests for capfd as well. Separated global capture test.  
							
							
							
						 
						
							2018-08-20 12:23:59 +02:00  
				
					
						
							
							
								 
						
							
								7ea4992f16 
								
							 
						 
						
							
							
								
								Fixed linting.  
							
							
							
						 
						
							2018-08-19 15:46:02 +02:00  
				
					
						
							
							
								 
						
							
								0564b52c0e 
								
							 
						 
						
							
							
								
								Fixed integration with other modules/tests  
							
							
							
						 
						
							2018-08-19 15:26:57 +02:00  
				
					
						
							
							
								 
						
							
								9e382e8d29 
								
							 
						 
						
							
							
								
								Fixed test.  
							
							
							
						 
						
							2018-08-19 14:29:57 +02:00  
				
					
						
							
							
								 
						
							
								2255892d65 
								
							 
						 
						
							
							
								
								Improved test to cover more cases.  
							
							
							
						 
						
							2018-08-19 13:44:12 +02:00  
				
					
						
							
							
								 
						
							
								f4c5994d27 
								
							 
						 
						
							
							
								
								Fixtures during teardown can use capsys and capfd to get output from tests  
							
							... 
							
							
							
							Fix  #3033  
						
							2018-08-18 14:46:24 -03:00  
				
					
						
							
							
								 
						
							
								c24c7e75e2 
								
							 
						 
						
							
							
								
								Added regression test for capfd in a fixture  
							
							
							
						 
						
							2018-08-18 14:11:04 -03:00  
				
					
						
							
							
								 
						
							
								3059bfb1b3 
								
							 
						 
						
							
							
								
								Update test with another problem.  
							
							
							
						 
						
							2018-08-17 13:00:27 +02:00  
				
					
						
							
							
								 
						
							
								da9d814da4 
								
							 
						 
						
							
							
								
								Added test.  
							
							
							
						 
						
							2018-08-17 00:20:51 +02:00  
				
					
						
							
							
								 
						
							
								4ae93a7a07 
								
							 
						 
						
							
							
								
								Remove obsolete __future__ imports  
							
							
							
						 
						
							2018-07-08 08:37:02 -07:00  
				
					
						
							
							
								 
						
							
								cbaa7dd56a 
								
							 
						 
						
							
							
								
								Upgrade pre-commit hooks except pyupgrade  
							
							
							
						 
						
							2018-06-26 06:35:27 -07:00  
				
					
						
							
							
								 
						
							
								464117b472 
								
							 
						 
						
							
							
								
								fix imports in tests  
							
							
							
						 
						
							2018-06-05 10:20:36 +02:00  
				
					
						
							
							
								 
						
							
								3e08c4ee64 
								
							 
						 
						
							
							
								
								sort out flake8 issues and unicode name usage  
							
							
							
						 
						
							2018-05-23 18:12:04 +02:00  
				
					
						
							
							
								 
						
							
								703e4b11ba 
								
							 
						 
						
							
							
								
								run black  
							
							
							
						 
						
							2018-05-23 16:48:46 +02:00  
				
					
						
							
							
								 
						
							
								aa51fcb2b6 
								
							 
						 
						
							
							
								
								Spelling and grammar fixes  
							
							
							
						 
						
							2018-05-13 12:06:09 +02:00  
				
					
						
							
							
								 
						
							
								3c3fc3bb9d 
								
							 
						 
						
							
							
								
								Add test capturing new expectation. Ref  #3314 .  
							
							
							
						 
						
							2018-03-15 21:25:50 -04:00  
				
					
						
							
							
								 
						
							
								9517c3a2aa 
								
							 
						 
						
							
							
								
								Suppress ``IOError`` when closing the temporary file used for capturing streams in Python 2.7.  
							
							... 
							
							
							
							Fix  #2370  
						
							2018-03-13 17:41:42 -03:00  
				
					
						
							
							
								 
						
							
								af37778b0d 
								
							 
						 
						
							
							
								
								All classes now subclass object for better py3 compatibility  
							
							... 
							
							
							
							Fix  #2147  
						
							2018-01-24 18:23:42 -02:00  
				
					
						
							
							
								 
						
							
								dab889304e 
								
							 
						 
						
							
							
								
								Implement progress percentage reporting while running tests  
							
							... 
							
							
							
							Fix  #2657  
						
							2017-11-21 21:01:41 -02:00  
				
					
						
							
							
								 
						
							
								219b758949 
								
							 
						 
						
							
							
								
								Add capsysbinary fixture  
							
							... 
							
							
							
							`capsysbinary` works like `capsys` but produces bytes for `readouterr()`. 
							
						 
						
							2017-11-17 09:02:46 -08:00  
				
					
						
							
							
								 
						
							
								8f90812481 
								
							 
						 
						
							
							
								
								Add capfdbinary fixture  
							
							... 
							
							
							
							`capfdbinary` works like `capfd` but produces bytes for `readouterr()`. 
							
						 
						
							2017-11-14 14:50:00 -08:00  
				
					
						
							
							
								 
						
							
								b27dde24d6 
								
							 
						 
						
							
							
								
								Use a nametuple for `readouterr()` results  
							
							... 
							
							
							
							This allows accessing `out` and `err` directly by attribute,
while preserving tuple unpacking.
Also added tests, one for the `capsys` fixture, and one for the
`MultiCapture` class itself. 
							
						 
						
							2017-10-28 14:53:19 -04:00  
				
					
						
							
							
								 
						
							
								c750a5beec 
								
							 
						 
						
							
							
								
								Merge pull request  #2794  from thisch/catchlog  
							
							... 
							
							
							
							Merge pytest-catchlog plugin 
							
						 
						
							2017-10-12 09:02:46 +02:00