8976b3ee0e 
								
							 
						 
						
							
							
								
								stop exposing capsys/capfd.capture  
							
							
							
						 
						
							2014-01-22 21:52:32 +01:00  
				
					
						
							
							
								 
						
							
								ac2f2b1deb 
								
							 
						 
						
							
							
								
								add notes on the copied pylib version  
							
							
							
						 
						
							2014-01-22 21:50:07 +01:00  
				
					
						
							
							
								 
						
							
								b4a397d153 
								
							 
						 
						
							
							
								
								kill ancient capture devnullpath, os.devnull exists since py 2.4  
							
							
							
						 
						
							2014-01-22 21:37:59 +01:00  
				
					
						
							
							
								 
						
							
								d1a9ab3df0 
								
							 
						 
						
							
							
								
								small cleanp  
							
							
							
						 
						
							2014-01-22 21:04:00 +01:00  
				
					
						
							
							
								 
						
							
								0ede968ec0 
								
							 
						 
						
							
							
								
								kill the str magic of Encodedfile  
							
							
							
						 
						
							2014-01-22 21:03:49 +01:00  
				
					
						
							
							
								 
						
							
								5f21abc3a3 
								
							 
						 
						
							
							
								
								move imports and declarations to the top  
							
							
							
						 
						
							2014-01-22 20:48:17 +01:00  
				
					
						
							
							
								 
						
							
								e2bb81124c 
								
							 
						 
						
							
							
								
								simplify StdCaptureFD snapshot reading  
							
							
							
						 
						
							2014-01-22 19:48:10 +01:00  
				
					
						
							
							
								 
						
							
								ea18e9656b 
								
							 
						 
						
							
							
								
								rewrite all _pytest.capture uses of py.io to _pytest.capture  
							
							
							
						 
						
							2014-01-22 19:44:20 +01:00  
				
					
						
							
							
								 
						
							
								0ac94134f5 
								
							 
						 
						
							
							
								
								initial code import for capture transfer  
							
							
							
						 
						
							2014-01-22 19:04:38 +01:00  
				
					
						
							
							
								 
						
							
								3a4f69734a 
								
							 
						 
						
							
							
								
								remove superflous line  
							
							
							
						 
						
							2014-01-22 13:54:25 +01:00  
				
					
						
							
							
								 
						
							
								e12fe64b54 
								
							 
						 
						
							
							
								
								Include py version in the terminal output  
							
							... 
							
							
							
							This can help to reproduce bugs when looking at the output pasted into
bug reports. 
							
						 
						
							2014-01-22 11:27:15 +01:00  
				
					
						
							
							
								 
						
							
								1ffc006363 
								
							 
						 
						
							
							
								
								fixed circular imports by reverting a few py.test -> pytest substitions.  
							
							
							
						 
						
							2014-01-22 11:17:25 +01:00  
				
					
						
							
							
								 
						
							
								836232e544 
								
							 
						 
						
							
							
								
								fix issue425: mention at end of "py.test -h" that --markers  
							
							... 
							
							
							
							and --fixtures work according to specified test path (or current dir) 
							
						 
						
							2014-01-22 10:24:22 +01:00  
				
					
						
							
							
								 
						
							
								2539e5a352 
								
							 
						 
						
							
							
								
								Merged in derdon/pytest/no-p-option (pull request  #102 )  
							
							... 
							
							
							
							added docs about the `no:` syntax for the -p option 
							
						 
						
							2014-01-20 13:22:31 +01:00  
				
					
						
							
							
								 
						
							
								8e457338ee 
								
							 
						 
						
							
							
								
								fix handling MarkDecorators called with a single positional plus keyword args  
							
							... 
							
							
							
							When a MarkDecorator instance is called it does the following:
  1. If called with a single class as its only positional argument and no
     additional keyword arguments, it attaches itself to the class so it gets
     applied automatically to all test cases found in that class.
  2. If called with a single function as its only positional argument and no
     additional keyword arguments, it attaches a MarkInfo object to the
     function, containing all the arguments already stored internally in the
     MarkDecorator.
  3. When called in any other case, it performs a 'fake construction' call, i.e.
     it returns a new MarkDecorator instance with the original MarkDecorator's
     content updated with the arguments passed to this call.
When Python applies a function decorator it always passes the target class/
function to the decorator as its positional argument with no additional
positional or keyword arguments. However, when MarkDecorator was deciding
whether it was being called to decorate a target function/class (cases 1. & 2.
as documented above) or to return an updated MarkDecorator (case 3. as
documented above), it only checked that it received a single callable positional
argument and did not take into consideration whether additional keyword
arguments were being passed in as well.
With this change, it is now possible to create a pytest mark storing a function/
class parameter passed as its only positional argument and accompanied by one or
more additional keyword arguments. Before, it was only possible to do so if the
function/class parameter argument was accompanied by at least one other
positional argument.
Added a related unit test.
Updated MarkDecorator doc-string. 
							
						 
						
							2014-01-20 01:27:33 +01:00  
				
					
						
							
							
								 
						
							
								d92ee8c3c3 
								
							 
						 
						
							
							
								
								added docs about the `no:` syntax for the -p option  
							
							... 
							
							
							
							--HG--
branch : no-p-option 
							
						 
						
							2014-01-19 22:05:14 +01:00  
				
					
						
							
							
								 
						
							
								657a395839 
								
							 
						 
						
							
							
								
								fix comment typos  
							
							
							
						 
						
							2014-01-18 12:39:16 +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  
				
					
						
							
							
								 
						
							
								99277be25f 
								
							 
						 
						
							
							
								
								Updated error message to be more helpful  
							
							... 
							
							
							
							Also, added misssing test 
							
						 
						
							2013-12-19 14:29:57 +01:00  
				
					
						
							
							
								 
						
							
								699892bd03 
								
							 
						 
						
							
							
								
								fix issue409 -- better interoperate with cx_freeze by not  
							
							... 
							
							
							
							trying to import from collections.abc which causes problems for py27/cx_freeze. 
							
						 
						
							2013-12-18 14:56:45 +01:00  
				
					
						
							
							
								 
						
							
								5a13f31bce 
								
							 
						 
						
							
							
								
								fix issue407: fix addoption docstring to point to argparse instead of  
							
							... 
							
							
							
							optparse. Thanks Daniel D. Wright. 
							
						 
						
							2013-12-16 18:07:05 +01:00  
				
					
						
							
							
								 
						
							
								b820cf2e39 
								
							 
						 
						
							
							
								
								Fix docstring  
							
							... 
							
							
							
							This was copied from another paramterize call and I forgot to change
the parameters referred too. 
							
						 
						
							2013-12-16 10:51:50 +00:00  
				
					
						
							
							
								 
						
							
								b4797d6295 
								
							 
						 
						
							
							
								
								fix issue403 : allow same-name parametrized functions within a collector  
							
							
							
						 
						
							2013-12-16 07:47:59 +01:00  
				
					
						
							
							
								 
						
							
								c9195a0f45 
								
							 
						 
						
							
							
								
								fix py32 failures and remove random print from commit accident  
							
							
							
						 
						
							2013-12-16 07:19:49 +01:00  
				
					
						
							
							
								 
						
							
								ef023ebad3 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2013-12-16 07:01:58 +01:00  
				
					
						
							
							
								 
						
							
								0c737e3de0 
								
							 
						 
						
							
							
								
								Allow parameterised fixtures to give paramemter IDs  
							
							... 
							
							
							
							This is just like the markers etc already can do. 
							
						 
						
							2013-12-15 22:15:15 +00:00  
				
					
						
							
							
								 
						
							
								901f764825 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2013-12-14 14:00:47 +01:00  
				
					
						
							
							
								 
						
							
								e843b028e6 
								
							 
						 
						
							
							
								
								fix issue404 by more strict junitxml escape  
							
							
							
						 
						
							2013-12-13 10:28:23 +01:00  
				
					
						
							
							
								 
						
							
								307a41339c 
								
							 
						 
						
							
							
								
								fix expicit assert messages for Python2.6: it turns out python2.6  
							
							... 
							
							
							
							instantiates the AssertionError differently for tuples.  Test
and fix to neutralize it. 
							
						 
						
							2013-12-12 06:41:48 +01:00  
				
					
						
							
							
								 
						
							
								bfa53811d3 
								
							 
						 
						
							
							
								
								regen docs and bump version to 2.5.0  
							
							
							
						 
						
							2013-12-11 12:20:19 +01:00  
				
					
						
							
							
								 
						
							
								fa80b8ad17 
								
							 
						 
						
							
							
								
								add changelog: fix issue319 - correctly show unicode in assertion errors.  Many  
							
							... 
							
							
							
							thanks to Floris Bruynooghe for the complete PR.  Also means
we depend on py>=1.4.19 now. 
							
						 
						
							2013-12-11 11:28:06 +01:00  
				
					
						
							
							
								 
						
							
								7b87f7b6b5 
								
							 
						 
						
							
							
								
								Paratrization overrides existing fixtures.  
							
							... 
							
							
							
							--HG--
branch : override-fixture-via-parametrization 
							
						 
						
							2013-12-10 14:27:29 +01:00  
				
					
						
							
							
								 
						
							
								dd0da4643a 
								
							 
						 
						
							
							
								
								clarify that pytest.mark.parametrize() takes a list of argvalues and not just  
							
							... 
							
							
							
							arbitrary iterators.  Addresses issue122. 
							
						 
						
							2013-12-10 10:16:27 +01:00  
				
					
						
							
							
								 
						
							
								7766526992 
								
							 
						 
						
							
							
								
								address issue122 -- explode "params" into a list in fixture function decorators  
							
							
							
						 
						
							2013-12-09 10:48:15 +01:00  
				
					
						
							
							
								 
						
							
								5c3d692008 
								
							 
						 
						
							
							
								
								some minor internal cleanup  
							
							
							
						 
						
							2013-12-09 10:40:39 +01:00  
				
					
						
							
							
								 
						
							
								ad2ac256de 
								
							 
						 
						
							
							
								
								speed up reorder for large higher-than-function-scoped parametrizations  
							
							
							
						 
						
							2013-12-09 10:05:44 +01:00  
				
					
						
							
							
								 
						
							
								66ffc5e0f8 
								
							 
						 
						
							
							
								
								backout allowing @pytest.fixture in front of pytest_funcarg__NAME functions.  
							
							... 
							
							
							
							It was introduced because of pylint warnings and it's probably better to
go for a pylint-pytest plugin that avoids also other warnings/issues. 
							
						 
						
							2013-12-09 07:07:47 +01:00  
				
					
						
							
							
								 
						
							
								7d9297e929 
								
							 
						 
						
							
							
								
								add changelog entry: PR90: add --color=yes|no|auto option to force terminal coloring  
							
							... 
							
							
							
							mode ("auto" is default).  Thanks Marc Abramowitz. 
							
						 
						
							2013-12-08 20:25:36 +01:00  
				
					
						
							
							
								 
						
							
								9e03ea8215 
								
							 
						 
						
							
							
								
								Merged in msabramo/pytest/color_option (pull request  #90 )  
							
							... 
							
							
							
							Add option: --color=(yes/no/auto) 
							
						 
						
							2013-12-08 20:19:37 +01:00  
				
					
						
							
							
								 
						
							
								e67047d629 
								
							 
						 
						
							
							
								
								remove unused cache argument for re-ordering items.  
							
							
							
						 
						
							2013-12-07 21:00:33 +01:00  
				
					
						
							
							
								 
						
							
								10edfa65dc 
								
							 
						 
						
							
							
								
								fix issue396 -- properly sort tests using class-scoped parametrization  
							
							... 
							
							
							
							also refix issue323 in a better way to avoid recursion for the fixture-grouping
algorithm alltogether. 
							
						 
						
							2013-12-07 20:55:17 +01:00  
				
					
						
							
							
								 
						
							
								dbfbc2b222 
								
							 
						 
						
							
							
								
								add a skip benchmark file (from issue400).  
							
							
							
						 
						
							2013-12-07 19:11:37 +01:00  
				
					
						
							
							
								 
						
							
								426907eafb 
								
							 
						 
						
							
							
								
								radically simplify eq/neq with nodes by just using Pythons builtin "is" relationship.  
							
							... 
							
							
							
							The need for comparing two separately instantiated nodes seems to be historic
(related to an already-gone mode of pytest-xdist which would re-collect nodes)
and not actually needed anymore. 
							
						 
						
							2013-12-07 16:39:53 +01:00  
				
					
						
							
							
								 
						
							
								4f0879ff9b 
								
							 
						 
						
							
							
								
								refactor internal finalization mechanics such that all fixture arguments  
							
							... 
							
							
							
							in a test invocation will have a corresponding FixtureDef instance.
also fixes issue246 (again).
simplify parametrized fixture teardown by making it work lazy:
during the setup of a parametrized fixture instance any previously
setup instance which was setup with a different param is torn down
before setting up the new one. 
							
						 
						
							2013-12-07 16:37:46 +01:00  
				
					
						
							
							
								 
						
							
								23fa4cec61 
								
							 
						 
						
							
							
								
								Add option: --color=(yes/no/auto)  
							
							... 
							
							
							
							--HG--
branch : color_option 
							
						 
						
							2013-12-06 11:49:48 -08:00  
				
					
						
							
							
								 
						
							
								4b9dbd3920 
								
							 
						 
						
							
							
								
								remove unused line  
							
							
							
						 
						
							2013-12-05 14:40:50 +01:00  
				
					
						
							
							
								 
						
							
								98c6ced46e 
								
							 
						 
						
							
							
								
								refactor and document parametrized sorting code.  
							
							
							
						 
						
							2013-12-05 06:09:29 +01:00  
				
					
						
							
							
								 
						
							
								817b175870 
								
							 
						 
						
							
							
								
								allow to use pytest.fixture decorator on old-style pytest_funcarg__NAME definitions.  
							
							
							
						 
						
							2013-12-04 07:16:34 +01:00  
				
					
						
							
							
								 
						
							
								0cfd873abe 
								
							 
						 
						
							
							
								
								implement index-based mechanizm for collection of parametrized tests  
							
							... 
							
							
							
							--HG--
branch : parametrize-hashable 
							
						 
						
							2013-12-03 21:05:19 +01:00  
				
					
						
							
							
								 
						
							
								d30ad3f5ce 
								
							 
						 
						
							
							
								
								fix reporting for @mock'd test functions  
							
							
							
						 
						
							2013-12-03 11:23:22 +01:00  
				
					
						
							
							
								 
						
							
								e3a945a0b5 
								
							 
						 
						
							
							
								
								Add test for unicode assertion descriptions  
							
							... 
							
							
							
							Also clean up a few debugging leftovers. 
							
						 
						
							2013-11-29 00:29:14 +00:00  
				
					
						
							
							
								 
						
							
								a5c075c4e2 
								
							 
						 
						
							
							
								
								Respect unicode in AssertionError argument  
							
							... 
							
							
							
							This is related to issue319 
							
						 
						
							2013-11-24 17:45:48 +00:00  
				
					
						
							
							
								 
						
							
								c0dd7c5975 
								
							 
						 
						
							
							
								
								fix issue275 - allow usefixtures and autouse fixtures  
							
							... 
							
							
							
							for running doctest text files. 
							
						 
						
							2013-11-22 15:35:20 +01:00  
				
					
						
							
							
								 
						
							
								a6783cd6f3 
								
							 
						 
						
							
							
								
								Backed out changeset 73b1eed8ce09  
							
							
							
						 
						
							2013-11-22 13:52:53 +01:00  
				
					
						
							
							
								 
						
							
								438d85b5ad 
								
							 
						 
						
							
							
								
								clarify that python_functions does not apply to unittest.TestCase  
							
							... 
							
							
							
							classes and their methods.  Addresses issue284. 
							
						 
						
							2013-11-22 13:44:56 +01:00  
				
					
						
							
							
								 
						
							
								90b6ccd321 
								
							 
						 
						
							
							
								
								Ensure the long descriptions and formatting preserve unicode correctly  
							
							... 
							
							
							
							This is the first stage towards fixing issue319, at least
py.io.saferepr and py.code.ExceptionInfo need to be addressed as well. 
							
						 
						
							2013-11-22 12:28:59 +00:00  
				
					
						
							
							
								 
						
							
								db778fd456 
								
							 
						 
						
							
							
								
								Correct comment  
							
							
							
						 
						
							2013-11-22 12:27:34 +00:00  
				
					
						
							
							
								 
						
							
								08f3a0791d 
								
							 
						 
						
							
							
								
								fix issue357 - special case "-k" expressions to allow for  
							
							... 
							
							
							
							filtering with simple strings that are not valid python expressions.
Examples: "-k 1.3" matches all tests parametrized with 1.3.
"-k None" filters all tests that have "None" in their name
and conversely "-k 'not None'".
Previously these examples would raise syntax errors.
Also add a note to the docs about what is allowed. 
							
						 
						
							2013-11-21 15:25:16 +01:00  
				
					
						
							
							
								 
						
							
								e31f40c2d0 
								
							 
						 
						
							
							
								
								fix ordering of finalizers of parametrized interdependent fixtures.  
							
							... 
							
							
							
							This fixes issue246 as reported.  Thanks Ralph Schmitt for the
precise failure example. 
							
						 
						
							2013-11-21 14:16:44 +01:00  
				
					
						
							
							
								 
						
							
								fc073cb81c 
								
							 
						 
						
							
							
								
								fixed version comparison in pytest.importskip(modname, minverstring)  
							
							
							
						 
						
							2013-11-21 13:53:04 +01:00  
				
					
						
							
							
								 
						
							
								2e90aaf7af 
								
							 
						 
						
							
							
								
								remove _fixturestack attribute now that we have a proper request->subrequest->subrequest chain.  
							
							
							
						 
						
							2013-11-21 13:15:32 +01:00  
				
					
						
							
							
								 
						
							
								238b890d9b 
								
							 
						 
						
							
							
								
								avoid maintaining a fixturestack  
							
							
							
						 
						
							2013-11-21 12:42:22 +01:00  
				
					
						
							
							
								 
						
							
								bb5f1e8173 
								
							 
						 
						
							
							
								
								refactor internal FixtureRequest handling to avoid monkeypatching.  
							
							... 
							
							
							
							One of the positive user-facing effects is that the "request" object
can now be used in closures. 
							
						 
						
							2013-11-21 12:21:52 +01:00  
				
					
						
							
							
								 
						
							
								a467fbea0d 
								
							 
						 
						
							
							
								
								Merge  
							
							
							
						 
						
							2013-11-21 01:16:49 +00: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  
				
					
						
							
							
								 
						
							
								0a8b27ff49 
								
							 
						 
						
							
							
								
								fix ordering when mock.patch or other standard decorator-wrappings  
							
							... 
							
							
							
							are used with test methods.  This fixues issue346.  Thanks to
Ronny Pfannschmidt and Donald Stufft for helping to isolate it. 
							
						 
						
							2013-11-19 23:22:27 +01:00  
				
					
						
							
							
								 
						
							
								72752165df 
								
							 
						 
						
							
							
								
								Ensure all finalizations are run when one fails  
							
							... 
							
							
							
							Fixes issue287. 
							
						 
						
							2013-11-19 17:26:18 +00:00  
				
					
						
							
							
								 
						
							
								9b21d3f206 
								
							 
						 
						
							
							
								
								internally make varnames() deal with classes's __init__,  
							
							... 
							
							
							
							although it's not needed by pytest itself atm.  Also
fix caching.  Fixes issue376. 
							
						 
						
							2013-11-19 15:33:52 +01:00  
				
					
						
							
							
								 
						
							
								dde0a81677 
								
							 
						 
						
							
							
								
								don't hide an ImportError when importing a plugin produces one.  
							
							... 
							
							
							
							fixes issue375. 
							
						 
						
							2013-11-19 14:45:51 +01:00  
				
					
						
							
							
								 
						
							
								31576fac61 
								
							 
						 
						
							
							
								
								fix issue380 by making --resultlog only rely on longrepr instead  
							
							... 
							
							
							
							of the "reprcrash" attribute which only exists sometimes. 
							
						 
						
							2013-11-19 14:19:29 +01:00  
				
					
						
							
							
								 
						
							
								eda8b02a8d 
								
							 
						 
						
							
							
								
								fix issue384 by removing the trial support code  
							
							
							
						 
						
							2013-11-19 10:58:24 +01:00  
				
					
						
							
							
								 
						
							
								1fd1617427 
								
							 
						 
						
							
							
								
								fix pexpect-3.0 compatibility for pytest's own tests.  
							
							... 
							
							
							
							(fixes issue386) 
							
						 
						
							2013-11-19 10:10:27 +01:00  
				
					
						
							
							
								 
						
							
								581b3a110c 
								
							 
						 
						
							
							
								
								Merged in hsoft/pytest (pull request  #81 )  
							
							... 
							
							
							
							Fix TypeError crash on failed imports under py3.3. 
							
						 
						
							2013-11-15 21:02:30 +01:00  
				
					
						
							
							
								 
						
							
								e118682db1 
								
							 
						 
						
							
							
								
								Added test for previous crash on failed import fix  
							
							... 
							
							
							
							Also, rewrote the fix a bit.
ref #383 . 
							
						 
						
							2013-11-15 14:03:57 -05:00  
				
					
						
							
							
								 
						
							
								e2c4730e17 
								
							 
						 
						
							
							
								
								correctly check for fixturedef when  merging  
							
							... 
							
							
							
							--HG--
branch : fix-fixturedef-merge 
							
						 
						
							2013-11-13 18:25:55 +01:00  
				
					
						
							
							
								 
						
							
								846cf781a1 
								
							 
						 
						
							
							
								
								use deepest fixturedef for fixture closure  
							
							... 
							
							
							
							--HG--
branch : multi-level-fixture-deps-override 
							
						 
						
							2013-11-12 13:45:36 +01:00  
				
					
						
							
							
								 
						
							
								ded88700a3 
								
							 
						 
						
							
							
								
								Fix TypeError crash on failed imports under py3.3.  
							
							... 
							
							
							
							Starting with Python 3.3, NamespacePath passed to importlib hooks
seem to have lost the ability to be accessed by index.
We wrap the index access in a try..except and wrap the path in a
list if it happens.
Fixes  #383 . 
							
						 
						
							2013-11-08 16:59:13 -05:00  
				
					
						
							
							
								 
						
							
								7210e443ee 
								
							 
						 
						
							
							
								
								Support multiple marks for individual parametrized argument set  
							
							... 
							
							
							
							--HG--
branch : multi-marks 
							
						 
						
							2013-11-01 21:10:13 -07:00  
				
					
						
							
							
								 
						
							
								75328b66e6 
								
							 
						 
						
							
							
								
								fix tests on py32/py33  
							
							
							
						 
						
							2013-10-22 11:26:29 +02:00  
				
					
						
							
							
								 
						
							
								cf9d345382 
								
							 
						 
						
							
							
								
								fix unicode handling with junitxml, fixes issue368.  
							
							
							
						 
						
							2013-10-21 16:54:25 +02:00  
				
					
						
							
							
								 
						
							
								0d8392bc45 
								
							 
						 
						
							
							
								
								fix unicode handling with new monkeypatch.setattr(import_path, value)  
							
							... 
							
							
							
							API.  Thanks Rob Dennis.  Fixes issue371. 
							
						 
						
							2013-10-21 14:01:02 +02:00  
				
					
						
							
							
								 
						
							
								bc8c4b3ebd 
								
							 
						 
						
							
							
								
								pytestconfig is now session-config as it is the same object during the  
							
							... 
							
							
							
							whole test run.  Fixes issue370 
							
						 
						
							2013-10-21 13:33:36 +02:00  
				
					
						
							
							
								 
						
							
								8ac5af2896 
								
							 
						 
						
							
							
								
								fix flakes issues and make --flakes run part of tox runs  
							
							
							
						 
						
							2013-10-12 15:39:22 +02:00  
				
					
						
							
							
								 
						
							
								d81b703f10 
								
							 
						 
						
							
							
								
								avoid one surprising case of marker malfunction/confusion::  
							
							... 
							
							
							
							@pytest.mark.some(lambda arg: ...)
    def test_function():
would not work correctly because pytest assumes @pytest.mark.some
gets a function to be decorated already.  We now at least detect if this
arg is an lambda and thus the example will work.  Thanks Alex Gaynor
for bringing it up. 
							
						 
						
							2013-10-11 14:36:54 +02:00  
				
					
						
							
							
								 
						
							
								124e58e42d 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2013-10-11 09:30:08 +02:00  
				
					
						
							
							
								 
						
							
								ee5b836e27 
								
							 
						 
						
							
							
								
								Implement suggestions by HPK  
							
							
							
						 
						
							2013-10-10 17:39:37 -04:00  
				
					
						
							
							
								 
						
							
								a4c17dfb19 
								
							 
						 
						
							
							
								
								Register the AssertionRewritingHook loader with pkg_resources;  fixes   #366 .  
							
							
							
						 
						
							2013-10-10 11:56:12 -04:00  
				
					
						
							
							
								 
						
							
								a5d4c20905 
								
							 
						 
						
							
							
								
								make "--runxfail" turn imperative pytest.xfail calls into no ops  
							
							... 
							
							
							
							(it already did neutralize pytest.mark.xfail markers) 
							
						 
						
							2013-10-09 22:55:20 +02:00  
				
					
						
							
							
								 
						
							
								0335c6d750 
								
							 
						 
						
							
							
								
								bump version to 2.3.3.dev1  
							
							
							
						 
						
							2013-10-05 21:39:16 +02:00  
				
					
						
							
							
								 
						
							
								56e6ae567c 
								
							 
						 
						
							
							
								
								fix detection of the coding cookie when it is on the second line of the file ( fixes   #330 )  
							
							
							
						 
						
							2013-10-05 15:16:08 -04:00  
				
					
						
							
							
								 
						
							
								33b663e03d 
								
							 
						 
						
							
							
								
								fix coding cookie detection logic  
							
							
							
						 
						
							2013-10-05 15:03:04 -04:00  
				
					
						
							
							
								 
						
							
								19a76337a4 
								
							 
						 
						
							
							
								
								add pluginmanager.do_configure(config) as a link to  
							
							... 
							
							
							
							config.do_configure() for plugin-compatibility
add some more plugins to plugin-test.sh 
							
						 
						
							2013-10-04 11:36:45 +02:00  
				
					
						
							
							
								 
						
							
								cec7d47c1f 
								
							 
						 
						
							
							
								
								remove fd-fixing attempt at startup of pytest.  It's  
							
							... 
							
							
							
							not clear it's actually needed and it's not nice
to still do FD-dupping when "-s" is specified. 
							
						 
						
							2013-10-03 18:53:40 +02:00  
				
					
						
							
							
								 
						
							
								3d00cd35fc 
								
							 
						 
						
							
							
								
								fix python2.5 issues  
							
							
							
						 
						
							2013-10-03 18:25:03 +02:00  
				
					
						
							
							
								 
						
							
								cb65c56037 
								
							 
						 
						
							
							
								
								fix issue365 and depend on a newer py versions which uses colorama  
							
							... 
							
							
							
							for coloring instead of its own ctypes hacks. 
							
						 
						
							2013-10-03 17:46:36 +02:00  
				
					
						
							
							
								 
						
							
								ae090740c5 
								
							 
						 
						
							
							
								
								always dupfile if os.dup is available  
							
							
							
						 
						
							2013-10-03 16:47:55 +02:00  
				
					
						
							
							
								 
						
							
								2248a31a44 
								
							 
						 
						
							
							
								
								more fixes regarding marking, in particular plugins should use add_marker/get_marker now.  
							
							
							
						 
						
							2013-10-03 15:43:56 +02:00  
				
					
						
							
							
								 
						
							
								9fdfa155fb 
								
							 
						 
						
							
							
								
								fix issue354: avoid tmpdir fixture to create too long filenames especially  
							
							... 
							
							
							
							when parametrization is used 
							
						 
						
							2013-10-03 14:22:54 +02:00  
				
					
						
							
							
								 
						
							
								e49eca8d59 
								
							 
						 
						
							
							
								
								simplify the implementation of NodeKeywords getting rid of __ descriptors appearing there.  
							
							
							
						 
						
							2013-10-03 13:53:22 +02:00  
				
					
						
							
							
								 
						
							
								42b1033385 
								
							 
						 
						
							
							
								
								allow test items to not be associated with a test function  
							
							... 
							
							
							
							this is needed for plugins like `pytest-pep8` or `pytest-flakes` 
							
						 
						
							2013-10-02 15:55:28 +02:00