5d4703852e 
								
							 
						 
						
							
							
								
								Add test when using native strings with non-ascii chars  
							
							
							
						 
						
							2016-03-05 19:34:15 -03:00  
				
					
						
							
							
								 
						
							
								24d3e01548 
								
							 
						 
						
							
							
								
								pytest.fail with non-ascii characters raises an internal pytest error  
							
							... 
							
							
							
							Fix  #1178  
						
							2016-03-05 16:09:01 -03:00  
				
					
						
							
							
								 
						
							
								d98d655094 
								
							 
						 
						
							
							
								
								Simplify IndexError test.  
							
							
							
						 
						
							2016-02-26 08:25:49 -04:00  
				
					
						
							
							
								 
						
							
								cf9a09e988 
								
							 
						 
						
							
							
								
								catch IndexError exceptions when getting exception source location  
							
							
							
						 
						
							2016-02-26 08:18:12 -04:00  
				
					
						
							
							
								 
						
							
								a912d3745b 
								
							 
						 
						
							
							
								
								Moved py.code code over to py.test  
							
							... 
							
							
							
							Fix  #103  
						
							2016-01-25 23:18:04 -02:00  
				
					
						
							
							
								 
						
							
								a0cefb3213 
								
							 
						 
						
							
							
								
								Use inspect.signature instead of inspect.getargspec  
							
							
							
						 
						
							2015-09-16 06:33:53 -04:00  
				
					
						
							
							
								 
						
							
								d7d418cd47 
								
							 
						 
						
							
							
								
								Fix forked_run_report in pytest.xdist 1.13  
							
							
							
						 
						
							2015-08-20 21:17:27 -04:00  
				
					
						
							
							
								 
						
							
								2ffd37b816 
								
							 
						 
						
							
							
								
								return non-zero exit code if no tests are collected  
							
							... 
							
							
							
							Fix  #812 
Fix  #500  
						
							2015-08-18 07:35:02 -03:00  
				
					
						
							
							
								 
						
							
								3cd19a7e45 
								
							 
						 
						
							
							
								
								Use monkeypatch for setting modules in tests  
							
							... 
							
							
							
							Instead of directly setting `sys.modules`. This ensures that they
get removed at the end of the test. 
							
						 
						
							2015-07-24 12:34:06 -04:00  
				
					
						
							
							
								 
						
							
								d104487282 
								
							 
						 
						
							
							
								
								importorskip: Allow non-integer version strings  
							
							... 
							
							
							
							Use `pkg_resources.parse_version` to parse version strings.
This can handle 'dev', 'rc', alpha and beta version strings,
among others. 
							
						 
						
							2015-07-24 12:34:06 -04:00  
				
					
						
							
							
								 
						
							
								a9b7de8bf0 
								
							 
						 
						
							
							
								
								address reviewer comments  
							
							
							
						 
						
							2015-03-21 17:26:23 +01:00  
				
					
						
							
							
								 
						
							
								0fc75c9622 
								
							 
						 
						
							
							
								
								Storing sys.last_traceback: test, docs and changelog  
							
							
							
						 
						
							2015-03-21 17:06:24 +01:00  
				
					
						
							
							
								 
						
							
								39a297afe6 
								
							 
						 
						
							
							
								
								Improve test by also matching expected output  
							
							
							
						 
						
							2014-08-30 21:57:01 +01:00  
				
					
						
							
							
								 
						
							
								98dcd764bc 
								
							 
						 
						
							
							
								
								Depend on newer version of py  
							
							... 
							
							
							
							This fixes issue560, a test for which is included here as well. 
							
						 
						
							2014-08-14 23:23:04 +01:00  
				
					
						
							
							
								 
						
							
								4622c28ffd 
								
							 
						 
						
							
							
								
								setupstate.addfinalizer(): fix docstring and remove related unit test not covering functional reality  
							
							
							
						 
						
							2014-01-26 12:44:21 +01:00  
				
					
						
							
							
								 
						
							
								9fb2079458 
								
							 
						 
						
							
							
								
								replace py.test module references with pytest  
							
							... 
							
							
							
							The only remaining 'py.test' references are:
 * those referring to the 'py.test' executable
 * those in code explicitly testing py.test/pytest module compatibility
 * those in old CHANGES documentation
 * those in documentation generated based on external data
 * those in seemingly unfinished & unmaintained Japanese documentation
Minor stylistic changes and typo corrections made to documentation next to
several applied py.test --> pytest content changes. 
							
						 
						
							2014-01-18 12:31:33 +01:00  
				
					
						
							
							
								 
						
							
								5dbf4fc0c2 
								
							 
						 
						
							
							
								
								fix importorskip test  
							
							
							
						 
						
							2013-12-03 09:40:40 +01:00  
				
					
						
							
							
								 
						
							
								fc073cb81c 
								
							 
						 
						
							
							
								
								fixed version comparison in pytest.importskip(modname, minverstring)  
							
							
							
						 
						
							2013-11-21 13:53:04 +01:00  
				
					
						
							
							
								 
						
							
								49119e31bf 
								
							 
						 
						
							
							
								
								fix py25 compat  
							
							
							
						 
						
							2013-11-21 12:31:22 +01:00  
				
					
						
							
							
								 
						
							
								6686c67a41 
								
							 
						 
						
							
							
								
								Re-raise the first exception instead of the last  
							
							... 
							
							
							
							This will make more sense if multiple fixtures depend on each other.
It would be better if all exceptions could be shown however.
Also depend on python 2.5+ exception hierarchy and use sys module
directly. 
							
						 
						
							2013-11-21 01:15:24 +00:00  
				
					
						
							
							
								 
						
							
								72752165df 
								
							 
						 
						
							
							
								
								Ensure all finalizations are run when one fails  
							
							... 
							
							
							
							Fixes issue287. 
							
						 
						
							2013-11-19 17:26:18 +00:00  
				
					
						
							
							
								 
						
							
								8ac5af2896 
								
							 
						 
						
							
							
								
								fix flakes issues and make --flakes run part of tox runs  
							
							
							
						 
						
							2013-10-12 15:39:22 +02:00  
				
					
						
							
							
								 
						
							
								94ee37cdb3 
								
							 
						 
						
							
							
								
								- fix issue181: --pdb now also works on collect errors.  This was  
							
							... 
							
							
							
							implemented by a slight internal refactoring and the introduction
  of a new hook ``pytest_exception_interact`` hook.
- fix issue341: introduce new experimental hook for IDEs/terminals to
  intercept debugging: ``pytest_exception_interact(node, call, report)``. 
							
						 
						
							2013-09-06 11:56:04 +02:00  
				
					
						
							
							
								 
						
							
								c3fcf4d928 
								
							 
						 
						
							
							
								
								show more info if the test fails  
							
							
							
						 
						
							2013-09-05 22:22:14 +02:00  
				
					
						
							
							
								 
						
							
								517d498285 
								
							 
						 
						
							
							
								
								fix issue169: respect --tb=style with setup/teardown errors as well.  
							
							
							
						 
						
							2013-09-05 15:43:19 +02:00  
				
					
						
							
							
								 
						
							
								9d107523a1 
								
							 
						 
						
							
							
								
								py3 fixes  
							
							
							
						 
						
							2013-02-04 16:07:51 +01:00  
				
					
						
							
							
								 
						
							
								570688f701 
								
							 
						 
						
							
							
								
								ensure OutcomeExceptions like skip/fail have initialized exception attributes  
							
							
							
						 
						
							2013-01-27 02:06:19 +01:00  
				
					
						
							
							
								 
						
							
								bf5b226474 
								
							 
						 
						
							
							
								
								fix issue 188 - ensure sys.exc_info on py2 is clear before calling into a test  
							
							
							
						 
						
							2012-09-15 15:20:49 +02:00  
				
					
						
							
							
								 
						
							
								227d847216 
								
							 
						 
						
							
							
								
								fix problem with unicode in writing failure representations to terminal, thanks ThomasWaldmann  
							
							
							
						 
						
							2012-06-24 16:42:31 +02:00  
				
					
						
							
							
								 
						
							
								5263656df6 
								
							 
						 
						
							
							
								
								kwarg support for reports, so xdist can deserialized extended reports  
							
							
							
						 
						
							2012-01-20 19:50:45 +01:00  
				
					
						
							
							
								 
						
							
								fa6d5bd15b 
								
							 
						 
						
							
							
								
								work around an apparent python2.4/python2.5 bug with subprocess.Popen,  
							
							... 
							
							
							
							causing jenkins failures.  Apparently "os.environ.popitem(name, None)"
is not the same as::
    try:
        del os.environ[name]
    except KeyError:
        pass 
							
						 
						
							2011-12-28 15:49:13 +00:00  
				
					
						
							
							
								 
						
							
								e21202b730 
								
							 
						 
						
							
							
								
								fix Jenkins test failures  
							
							
							
						 
						
							2011-12-27 21:03:15 +00:00  
				
					
						
							
							
								 
						
							
								c4fe622b82 
								
							 
						 
						
							
							
								
								fix issue93 - avoid "delayed" teardowns for distributed testing by  
							
							... 
							
							
							
							simplifying handling of teardowns. 
							
						 
						
							2011-12-02 21:00:19 +00:00  
				
					
						
							
							
								 
						
							
								a5e7b2760d 
								
							 
						 
						
							
							
								
								fix issue90 - perform teardown after its actual test function/item.  This is implemented by modifying the runtestprotocol to remember "pending" teardowns and call them before the setup of the next item.  
							
							
							
						 
						
							2011-11-18 16:01:29 +00:00  
				
					
						
							
							
								 
						
							
								539f828cdd 
								
							 
						 
						
							
							
								
								also accept non-pytrace pytest.fail() call in setup/teardown methods  
							
							
							
						 
						
							2010-11-24 16:43:55 +01:00  
				
					
						
							
							
								 
						
							
								695bffc83d 
								
							 
						 
						
							
							
								
								refine unittest support to also work with twisted trial test cases better by  
							
							... 
							
							
							
							introducing a slightly hackish way to report a failure upstream 
							
						 
						
							2010-11-23 15:42:23 +01:00  
				
					
						
							
							
								 
						
							
								a698465487 
								
							 
						 
						
							
							
								
								streamline docs, especially use "import pytest" and "pytest.*" in python code examples instead of "import py" and "py.test.*".  
							
							
							
						 
						
							2010-11-17 22:12:16 +01:00  
				
					
						
							
							
								 
						
							
								82ba645a2e 
								
							 
						 
						
							
							
								
								fix skip reporting over distributed testing.  if we have a "skip" report  
							
							... 
							
							
							
							rep.longrepr will now be a 3-tuple (path, lineno, message) 
							
						 
						
							2010-11-13 21:03:28 +01:00  
				
					
						
							
							
								 
						
							
								076e03e90f 
								
							 
						 
						
							
							
								
								also un-nest test directory  
							
							
							
						 
						
							2010-11-13 11:30:40 +01:00