e3b9382122 
								
							 
						 
						
							
							
								
								use sys.modules.get correctly and reference DEFAULT with respect to it  
							
							
							
						 
						
							2014-03-26 09:36:02 -07:00  
				
					
						
							
							
								 
						
							
								c3f4eb6d57 
								
							 
						 
						
							
							
								
								change try/except to sys.module.get and a conditional  
							
							
							
						 
						
							2014-03-26 09:27:33 -07:00  
				
					
						
							
							
								 
						
							
								892aa457be 
								
							 
						 
						
							
							
								
								fix issue472: clarify that ``pytest.config.getvalue()`` cannot work  
							
							... 
							
							
							
							if it's triggered ahead of command line parsing. 
							
						 
						
							2014-03-26 07:15:54 +01:00  
				
					
						
							
							
								 
						
							
								8f7b53e55b 
								
							 
						 
						
							
							
								
								fix issue490: include pytest_load_initial_conftests in documentation  
							
							... 
							
							
							
							and improve docstring. 
							
						 
						
							2014-03-25 14:43:58 +01:00  
				
					
						
							
							
								 
						
							
								d27c377817 
								
							 
						 
						
							
							
								
								tentatively fix py33 and py25 compat  
							
							
							
						 
						
							2014-03-14 15:58:16 +01:00  
				
					
						
							
							
								 
						
							
								50abe43216 
								
							 
						 
						
							
							
								
								fix issue  #479 : properly handle nose/unittest(2) SkipTest exceptions  
							
							... 
							
							
							
							during collection/loading of test modules.  Thanks to Marc Schlaich
for the complete PR. 
							
						 
						
							2014-03-14 15:44:39 +01:00  
				
					
						
							
							
								 
						
							
								ddc67ca13a 
								
							 
						 
						
							
							
								
								Merged in schlamar/pytest (pull request  #129 )  
							
							... 
							
							
							
							Fixed race condition with SkipTest when module not in sys.modules on collection. 
							
						 
						
							2014-03-14 15:39:01 +01:00  
				
					
						
							
							
								 
						
							
								a1d3da4027 
								
							 
						 
						
							
							
								
								Merged in nicoddemus/pytest/integrate-plugin-index-docs (pull request  #120 )  
							
							... 
							
							
							
							Integrating plugin_index docs and misc improvements 
							
						 
						
							2014-03-14 15:34:03 +01:00  
				
					
						
							
							
								 
						
							
								85e7b11ef5 
								
							 
						 
						
							
							
								
								Removed unnecessary iteration in nose.pytest_runtest_makereport.  
							
							
							
						 
						
							2014-03-14 15:29:42 +01:00  
				
					
						
							
							
								 
						
							
								77e1f93ca1 
								
							 
						 
						
							
							
								
								Fixed pyflakes errors.  
							
							
							
						 
						
							2014-03-14 14:25:36 +01:00  
				
					
						
							
							
								 
						
							
								94b1ce65c6 
								
							 
						 
						
							
							
								
								Fixed race condition with SkipTest when module not in sys.modules on collection.  
							
							
							
						 
						
							2014-03-14 14:04:54 +01:00  
				
					
						
							
							
								 
						
							
								f5b992f68a 
								
							 
						 
						
							
							
								
								Merged in jurko/pytest/doc_typo_correction (pull request  #122 )  
							
							... 
							
							
							
							fix documentation typo 
							
						 
						
							2014-03-14 13:10:33 +01:00  
				
					
						
							
							
								 
						
							
								24a458b4c8 
								
							 
						 
						
							
							
								
								Merged in graingert/pytest/graingert/pep8-good-practices-code-1394196858258 (pull request  #125 )  
							
							... 
							
							
							
							pep8 good practices code 
							
						 
						
							2014-03-14 13:06:53 +01:00  
				
					
						
							
							
								 
						
							
								ac1d277225 
								
							 
						 
						
							
							
								
								simplify pdb disabling of capturing, also accomodate the new semantics  
							
							... 
							
							
							
							that capturing is always on during a test session. 
							
						 
						
							2014-03-14 12:49:37 +01:00  
				
					
						
							
							
								 
						
							
								9777703e03 
								
							 
						 
						
							
							
								
								- turn on capturing before early conftest loading and make terminal writer  
							
							... 
							
							
							
							use the original stream.
- avoid resetting capture FDs/sys.stdout for each test by keeping capturing
  always turned on and looking at snapshotted capturing data during runtest
  and collection phases. 
							
						 
						
							2014-03-14 12:49:36 +01:00  
				
					
						
							
							
								 
						
							
								f43cda9681 
								
							 
						 
						
							
							
								
								implement a new hook type: hook wrappers using a "yield" to distinguish  
							
							... 
							
							
							
							between working at the front and at the end of a hook call chain.
The idea is to make it easier for a plugin to "wrap" a certain hook
call and use context managers, in particular allow a major cleanup of
capturing. 
							
						 
						
							2014-03-14 12:49:35 +01:00  
				
					
						
							
							
								 
						
							
								b47fdbe0a7 
								
							 
						 
						
							
							
								
								remove externally setting and dealing with "item.outerr" from capturing in favor of a direct interface for adding reporting sections to items.  
							
							... 
							
							
							
							* * *
refactor makereport implementation to avoid recursion with __multicall__ 
							
						 
						
							2014-03-14 12:49:34 +01:00  
				
					
						
							
							
								 
						
							
								cde970be69 
								
							 
						 
						
							
							
								
								remove unneccessary indirections and options  
							
							
							
						 
						
							2014-03-14 12:49:34 +01:00  
				
					
						
							
							
								 
						
							
								cfd43a9b02 
								
							 
						 
						
							
							
								
								add changelog for warning system, bump internal version  
							
							
							
						 
						
							2014-03-14 08:15:38 +01:00  
				
					
						
							
							
								 
						
							
								ebd10aa6b4 
								
							 
						 
						
							
							
								
								shrink and merge the somewhat obscure and undocumented internal hinting  
							
							... 
							
							
							
							system with the new warnings one 
							
						 
						
							2014-03-11 22:10:51 +01:00  
				
					
						
							
							
								 
						
							
								24db492f53 
								
							 
						 
						
							
							
								
								warn if instances are callable and have a test name  
							
							
							
						 
						
							2014-03-11 22:10:18 +01:00  
				
					
						
							
							
								 
						
							
								1b387bea62 
								
							 
						 
						
							
							
								
								introduce warning system with this API:  
							
							... 
							
							
							
							- node.warn() for a node-specific warning
- config.warn() for a global non-node specific warning
Each warning is accompanied by a "warning number" so that we can later
introduce mechanisms for surpressing them.
Each warning will trigger a call to pytest_report_warn(number, node, message)
which is by default implemented by the TerminalReporter which introduces
a new option "-rw" to show details about warnings. 
							
						 
						
							2014-03-11 22:10:17 +01:00  
				
					
						
							
							
								 
						
							
								9528b64f7f 
								
							 
						 
						
							
							
								
								pep8 good practices code  
							
							... 
							
							
							
							--HG--
branch : graingert/pep8-good-practices-code-1394196858258 
							
						 
						
							2014-03-07 12:51:51 +00:00  
				
					
						
							
							
								 
						
							
								b96559149c 
								
							 
						 
						
							
							
								
								Merged in jurko/pytest/pdb_doc_update (pull request  #118 )  
							
							... 
							
							
							
							update PDB related pytest docs 
							
						 
						
							2014-03-06 08:36:42 +01:00  
				
					
						
							
							
								 
						
							
								3388d82c1c 
								
							 
						 
						
							
							
								
								Fix to work properly when @patch is used with new not equal to DEFAULT  
							
							... 
							
							
							
							also updated test_mock to include this situation 
							
						 
						
							2014-03-03 10:36:59 -08:00  
				
					
						
							
							
								 
						
							
								9985a7cdca 
								
							 
						 
						
							
							
								
								fix documentation typo  
							
							... 
							
							
							
							--HG--
branch : doc_typo_correction 
							
						 
						
							2014-03-02 22:52:38 +01:00  
				
					
						
							
							
								 
						
							
								1d00c5e109 
								
							 
						 
						
							
							
								
								Using github and bitbucket icons on plugins_index page  
							
							... 
							
							
							
							--HG--
branch : integrate-plugin-index-docs 
							
						 
						
							2014-02-18 22:40:36 -03:00  
				
					
						
							
							
								 
						
							
								0559f11aa5 
								
							 
						 
						
							
							
								
								Improved text on plugins_index  
							
							... 
							
							
							
							- Removed "beta" status from it;
- Added links to pytest-plugs app;
--HG--
branch : integrate-plugin-index-docs 
							
						 
						
							2014-02-18 21:33:13 -03:00  
				
					
						
							
							
								 
						
							
								2893cddb68 
								
							 
						 
						
							
							
								
								plugins_index no longer has the package names hard-coded  
							
							... 
							
							
							
							small number of changes:
- removed hard-coded links to package release versions, using
  a placeholder "latest" instead which is understood by pytest-plugs
- testing against pytest-2.5.2
This changes were implemented so this page only needs
to be updated after pytest releases, not after each package version changes;. 
							
						 
						
							2014-02-11 23:38:30 -02:00  
				
					
						
							
							
								 
						
							
								6910641266 
								
							 
						 
						
							
							
								
								reword PDB usage documentation  
							
							... 
							
							
							
							Documented that since pytest 2.4.0 you can use the raw pdb.set_trace() call
directly without the pytest.set_trace() wrapper or explicitly disabling pytest's
output capture using 'py.test -s'.
Clearly stated how pytest (since version 2.0.0.) automatically disables its
output capture when entering an interactive PDB debugger. This avoids confusing
new users because their tests display different output when running with or
without entering an interactive debugger (even if user does nothing in that
interactive debugger session other than exit it and continue with the regular
test execution).
--HG--
branch : pdb_doc_update 
							
						 
						
							2014-02-01 10:19:09 +01:00  
				
					
						
							
							
								 
						
							
								4b81a07303 
								
							 
						 
						
							
							
								
								make all 'PDB' doc references be recognized as links  
							
							... 
							
							
							
							--HG--
branch : pdb_doc_update 
							
						 
						
							2014-02-01 10:11:42 +01:00  
				
					
						
							
							
								 
						
							
								7eb765578a 
								
							 
						 
						
							
							
								
								correct inconsistent comment wording  
							
							... 
							
							
							
							Once the 'the' article was used before 'first' and once it was not, all within
the same code example.
--HG--
branch : pdb_doc_update 
							
						 
						
							2014-02-01 10:07:54 +01:00  
				
					
						
							
							
								 
						
							
								e2cf3e0932 
								
							 
						 
						
							
							
								
								Added tag 2.5.2 for changeset 421d3b4d150d  
							
							
							
						 
						
							2014-01-29 14:09:33 +01:00  
				
					
						
							
							
								 
						
							
								1830de2c13 
								
							 
						 
						
							
							
								
								make it clear that this xfail is an unimplemented feature, nothing more.  
							
							
							
						 
						
							2014-01-29 13:56:24 +01:00  
				
					
						
							
							
								 
						
							
								25ab906b8b 
								
							 
						 
						
							
							
								
								add release announcement, bump version to 2.5.2,  
							
							... 
							
							
							
							add links to plugins index, regenerate doc examples. 
							
						 
						
							2014-01-29 13:47:11 +01:00  
				
					
						
							
							
								 
						
							
								8a3b4b9c37 
								
							 
						 
						
							
							
								
								require py>=1.2.20  
							
							
							
						 
						
							2014-01-29 13:11:40 +01:00  
				
					
						
							
							
								 
						
							
								2b8a54d5d9 
								
							 
						 
						
							
							
								
								refine skipif to use direct booleans, to help with flakes  
							
							
							
						 
						
							2014-01-29 11:46:36 +01:00  
				
					
						
							
							
								 
						
							
								4eabfed651 
								
							 
						 
						
							
							
								
								refactor lsof checking and fix an lsof leak in pypy  
							
							
							
						 
						
							2014-01-29 11:18:15 +01:00  
				
					
						
							
							
								 
						
							
								505a34bb85 
								
							 
						 
						
							
							
								
								fix flakes failures  
							
							
							
						 
						
							2014-01-29 10:20:13 +01:00  
				
					
						
							
							
								 
						
							
								2dade6ed00 
								
							 
						 
						
							
							
								
								add changelog entry about issue429, adapt README  
							
							
							
						 
						
							2014-01-29 09:00:14 +01:00  
				
					
						
							
							
								 
						
							
								825ea9bfa1 
								
							 
						 
						
							
							
								
								Fix assertrepr for mojibake  
							
							... 
							
							
							
							If the compared text was in bytes and not actually valid text
(i.e. could not be encoded to text/unicode using the default encoding)
then the assertrepr would fail with an EncodingError.  This ensures
that the internal string is always valid unicode, converting any bytes
safely to valid unicode.  This is done using repr() which then needs
post-processing to fix the encompassing quotes and un-escape newlines.
This fixes issue 429. 
							
						 
						
							2014-01-29 00:42:58 +00:00  
				
					
						
							
							
								 
						
							
								cc1186242c 
								
							 
						 
						
							
							
								
								Avoid wasted string concatenation and improve english  
							
							
							
						 
						
							2014-01-29 00:39:04 +00:00  
				
					
						
							
							
								 
						
							
								86284689a3 
								
							 
						 
						
							
							
								
								simplify loop which turns direct funcarg parametrization to indirect  
							
							
							
						 
						
							2014-01-27 12:53:44 +01:00  
				
					
						
							
							
								 
						
							
								c70d020bf3 
								
							 
						 
						
							
							
								
								allow positional args to tox invocation  
							
							
							
						 
						
							2014-01-27 12:42:06 +01:00  
				
					
						
							
							
								 
						
							
								4622c28ffd 
								
							 
						 
						
							
							
								
								setupstate.addfinalizer(): fix docstring and remove related unit test not covering functional reality  
							
							
							
						 
						
							2014-01-26 12:44:21 +01:00  
				
					
						
							
							
								 
						
							
								899998cf9c 
								
							 
						 
						
							
							
								
								Merged in hpk42/pytest-capsimple/capsimple1 (pull request  #115 )  
							
							... 
							
							
							
							some simplifications in capturing code 
							
						 
						
							2014-01-26 12:07:45 +01:00  
				
					
						
							
							
								 
						
							
								6f385fb4ea 
								
							 
						 
						
							
							
								
								remove "mixed" capturing mode which is not used by pytest  
							
							... 
							
							
							
							--HG--
branch : capsimple1 
							
						 
						
							2014-01-25 19:56:27 +01:00  
				
					
						
							
							
								 
						
							
								18e12cbd67 
								
							 
						 
						
							
							
								
								remove "StdCapture*.call" classmethod because pytest does not use it.  
							
							... 
							
							
							
							--HG--
branch : capsimple1 
							
						 
						
							2014-01-25 19:43:57 +01:00  
				
					
						
							
							
								 
						
							
								3cf4e133cc 
								
							 
						 
						
							
							
								
								remove now parameter because pytest only used now==False everywhere  
							
							... 
							
							
							
							--HG--
branch : capsimple1 
							
						 
						
							2014-01-25 19:42:45 +01:00  
				
					
						
							
							
								 
						
							
								d53bfe0aa7 
								
							 
						 
						
							
							
								
								Merged in RonnyPfannschmidt/pytest/multi-usageerror (pull request  #113 )  
							
							... 
							
							
							
							Make one usage error for every argument that fails instead of bailing at the first only 
							
						 
						
							2014-01-25 11:04:53 +01:00