eead0365b5 
								
							 
						 
						
							
							
								
								Merged in parametrized-fixture-override (pull request  #257 )  
							
							... 
							
							
							
							allow to override parametrized fixtures with non-parametrized ones and vice versa 
							
						 
						
							2015-03-12 09:40:56 -03:00  
				
					
						
							
							
								 
						
							
								5d6b0a59c0 
								
							 
						 
						
							
							
								
								Strip docstrings in output with `--fixtures`  
							
							... 
							
							
							
							Fixes https://bitbucket.org/pytest-dev/pytest/issue/550 .
--HG--
branch : strip-docstrings-from-fixtures 
							
						 
						
							2015-03-04 17:00:24 +01:00  
				
					
						
							
							
								 
						
							
								c629f6b18b 
								
							 
						 
						
							
							
								
								Fix `reload()` with modules handled via `python_files`  
							
							... 
							
							
							
							If a module exists in `sys.modules` already, `load_module` has to return it.
Fixes https://bitbucket.org/pytest-dev/pytest/issue/435 
--HG--
branch : fix-reload 
							
						 
						
							2015-03-04 16:21:27 +01:00  
				
					
						
							
							
								 
						
							
								d083153548 
								
							 
						 
						
							
							
								
								fix typo  
							
							... 
							
							
							
							--HG--
branch : parametrized-fixture-override 
							
						 
						
							2015-03-02 20:18:06 +01:00  
				
					
						
							
							
								 
						
							
								41e6b04f0b 
								
							 
						 
						
							
							
								
								Merged in eks/pytest/issue616 (pull request  #258 )  
							
							... 
							
							
							
							Add comments 
							
						 
						
							2015-03-02 14:38:10 +01:00  
				
					
						
							
							
								 
						
							
								97d5da5c99 
								
							 
						 
						
							
							
								
								Add comments  
							
							... 
							
							
							
							--HG--
branch : issue616 
							
						 
						
							2015-03-01 17:32:00 -05:00  
				
					
						
							
							
								 
						
							
								c4623939af 
								
							 
						 
						
							
							
								
								support override of the parametrized fixture on the test level  
							
							... 
							
							
							
							--HG--
branch : parametrized-fixture-override 
							
						 
						
							2015-03-01 15:15:37 +01:00  
				
					
						
							
							
								 
						
							
								060609317a 
								
							 
						 
						
							
							
								
								allow to override parametrized fixtures with non-parametrized ones and vice versa  
							
							... 
							
							
							
							--HG--
branch : parametrized-fixture-override 
							
						 
						
							2015-03-01 13:54:43 +01:00  
				
					
						
							
							
								 
						
							
								1e6e373913 
								
							 
						 
						
							
							
								
								Merged in issue616 (pull request  #252 )  
							
							... 
							
							
							
							fix issue616 - conftest visibility fixes. 
							
						 
						
							2015-02-28 10:02:58 +01:00  
				
					
						
							
							
								 
						
							
								c3ca44b46f 
								
							 
						 
						
							
							
								
								change links to go to the new pytest-dev bitbucket team's repo location  
							
							... 
							
							
							
							--HG--
branch : docs_community 
							
						 
						
							2015-02-27 12:27:40 +01:00  
				
					
						
							
							
								 
						
							
								28c2327f73 
								
							 
						 
						
							
							
								
								move conftest visibility tests and their setup into a class, accomodates @nicoddemus 's comment  
							
							... 
							
							
							
							--HG--
branch : issue616 
							
						 
						
							2015-02-27 09:51:53 +01:00  
				
					
						
							
							
								 
						
							
								660b84a052 
								
							 
						 
						
							
							
								
								Merged in cpcloud/pytest/ignore-doctest-import-errors (pull request  #243 )  
							
							... 
							
							
							
							Add option to ignore import errors in doctests 
							
						 
						
							2015-02-26 21:59:54 +01:00  
				
					
						
							
							
								 
						
							
								d73e689991 
								
							 
						 
						
							
							
								
								fix issue616 - conftest visibility fixes.  This is achieved by  
							
							... 
							
							
							
							refactoring how nodeid's are constructed.  They now are always
relative to the "common rootdir" of a test run which is determined by
finding a common ancestor of all testrun arguments.
--HG--
branch : issue616 
							
						 
						
							2015-02-26 21:56:44 +01:00  
				
					
						
							
							
								 
						
							
								c773ea664b 
								
							 
						 
						
							
							
								
								Add test for command line usage  
							
							... 
							
							
							
							--HG--
branch : ignore-doctest-import-errors 
							
						 
						
							2015-02-26 12:39:36 -05:00  
				
					
						
							
							
								 
						
							
								415c76b255 
								
							 
						 
						
							
							
								
								Merged in tush/pytest/junit-verbose-failures (pull request  #240 )  
							
							... 
							
							
							
							Made failure message in junit xml report more informative 
							
						 
						
							2015-02-22 19:13:07 +01:00  
				
					
						
							
							
								 
						
							
								777bde7c60 
								
							 
						 
						
							
							
								
								Remove xfail_if_pdbpp_installed from test_pdb.py  
							
							... 
							
							
							
							--HG--
branch : remove_pdbpp_xfail 
							
						 
						
							2015-02-19 03:22:05 -08:00  
				
					
						
							
							
								 
						
							
								e19f3c260f 
								
							 
						 
						
							
							
								
								Remove pdbpp xfails; don't seem necessary anymore  
							
							... 
							
							
							
							It seems that they're no longer necessary as the tests pass now
    [marca@marca-mac2 pytest]$ pip freeze
    backports.inspect==0.0.2
    fancycompleter==0.4
    funcsigs==0.2
    ordereddict==1.1
    -e hg+ssh://hg@bitbucket.org/antocuni/pdb@4bda65ac8f8cc9b1850e0301669aac39200f2f9a#egg=pdbpp-fix_pytest_doctest_NoneType_object_has_no_attribute_lower
    py==1.4.26
    Pygments==1.6
    pyrepl==0.8.4
    -e hg+ssh://hg@bitbucket.org/hpk42/pytest@5fc366c50b56a94638c959be8456d2cb3c7e7c1c#egg=pytest-dev
    wmctrl==0.1
    [marca@marca-mac2 pytest]$ py.test testing/test_doctest.py --tb=short
    ============================================================================= test session starts ==============================================================================
    platform darwin -- Python 2.7.9 -- py-1.4.26 -- pytest-2.7.0.dev1
    collected 22 items
    testing/test_doctest.py ......................
    ========================================================================== 22 passed in 1.61 seconds ===========================================================================
See https://bitbucket.org/antocuni/pdb/issue/24/doctests-fail-when-pdbpp-is-installed 
--HG--
branch : remove_pdbpp_xfail 
							
						 
						
							2015-02-19 03:03:56 -08:00  
				
					
						
							
							
								 
						
							
								912c8f0540 
								
							 
						 
						
							
							
								
								Use monkeypatch to set the PYTEST_ADDOPTS environment variable in the test.  
							
							... 
							
							
							
							--HG--
branch : env-addopts 
							
						 
						
							2015-01-29 10:52:01 +00:00  
				
					
						
							
							
								 
						
							
								7325a5fe2e 
								
							 
						 
						
							
							
								
								Support setting configuration using the PYTEST_ADDOPTS environment variable.  
							
							... 
							
							
							
							--HG--
branch : env-addopts 
							
						 
						
							2015-01-23 20:09:42 +00:00  
				
					
						
							
							
								 
						
							
								9f4d0be895 
								
							 
						 
						
							
							
								
								Failure message in junit xml report now are more informative  
							
							... 
							
							
							
							--HG--
branch : junit-verbose-failures 
							
						 
						
							2015-01-20 01:45:26 +03:00  
				
					
						
							
							
								 
						
							
								5941b2e071 
								
							 
						 
						
							
							
								
								fix issue 655: crude workarounds around python2/3 exception leaks  
							
							
							
						 
						
							2015-01-09 19:55:49 +01:00  
				
					
						
							
							
								 
						
							
								f6caf230f8 
								
							 
						 
						
							
							
								
								fix for issue615: _format_boolop must escape %  
							
							... 
							
							
							
							fix test for issue615: expression must eval False
--HG--
branch : format_boolop_percent6 
							
						 
						
							2014-10-27 08:57:58 +00:00  
				
					
						
							
							
								 
						
							
								5f2444d2a2 
								
							 
						 
						
							
							
								
								Merged in nicoddemus/pytest/fix-pastebin (pull request  #228 )  
							
							... 
							
							
							
							Fix --pastebin option 
							
						 
						
							2014-10-23 09:08:30 +02:00  
				
					
						
							
							
								 
						
							
								537dca477b 
								
							 
						 
						
							
							
								
								Fixing --pastebin option by using a POST request instead of a XMLRPC call  
							
							... 
							
							
							
							fixes  #614 
--HG--
branch : fix-pastebin 
						
							2014-10-22 21:52:40 -02:00  
				
					
						
							
							
								 
						
							
								8d19ccb56f 
								
							 
						 
						
							
							
								
								Merged in pfctdayelise/pytest/issue351 (pull request  #161 )  
							
							... 
							
							
							
							Fixes issue351: Add ability to specify parametrize ids as a
callable, to generate custom test ids. + tests, docs
Hg branch merge 
							
						 
						
							2014-10-22 23:18:01 +01:00  
				
					
						
							
							
								 
						
							
								b928928942 
								
							 
						 
						
							
							
								
								added support for glob-style patterns to python_classes and python_functions config options  
							
							... 
							
							
							
							fixes  #600 
--HG--
branch : python-classes-glob 
						
							2014-10-16 19:27:10 -03:00  
				
					
						
							
							
								 
						
							
								f8623a6668 
								
							 
						 
						
							
							
								
								test for issue615: compound assert with percent  
							
							... 
							
							
							
							--HG--
branch : assert_percent_test 
							
						 
						
							2014-10-13 09:26:18 +01:00  
				
					
						
							
							
								 
						
							
								cea9367739 
								
							 
						 
						
							
							
								
								Merged in HolgerPeters/pytest (pull request  #221 )  
							
							... 
							
							
							
							Make doctest flags configurable 
							
						 
						
							2014-10-09 17:05:48 +02:00  
				
					
						
							
							
								 
						
							
								8c91ffc701 
								
							 
						 
						
							
							
								
								some docs and refined semantics for wrappers  
							
							
							
						 
						
							2014-10-09 12:21:01 +02:00  
				
					
						
							
							
								 
						
							
								c58770bfef 
								
							 
						 
						
							
							
								
								re-scan methods during plugin register and unregister and not  
							
							... 
							
							
							
							during hook calling anymore.  Simplify register/getplugin api of PluginManager 
							
						 
						
							2014-10-09 10:47:32 +02:00  
				
					
						
							
							
								 
						
							
								5999368002 
								
							 
						 
						
							
							
								
								remove all occurences of "__multicall__" on hook impls in pytest/*.  
							
							... 
							
							
							
							also simplify pytest_runtest_markereport hook in _pytest/skipping.py
while touching the code anyway. 
							
						 
						
							2014-10-08 20:23:40 +02:00  
				
					
						
							
							
								 
						
							
								787b0212d1 
								
							 
						 
						
							
							
								
								Add a doctest for module docstrings  
							
							
							
						 
						
							2014-10-08 15:54:08 +02:00  
				
					
						
							
							
								 
						
							
								f66e0825b2 
								
							 
						 
						
							
							
								
								Add configuration option for doctest flags  
							
							
							
						 
						
							2014-10-08 14:31:17 +02:00  
				
					
						
							
							
								 
						
							
								c3d1986101 
								
							 
						 
						
							
							
								
								- refactor wrapped call support to also accomodate  
							
							... 
							
							
							
							pytest.mark.hookwrapper
- introduce a CallOutcome class to hold the result/excinfo status of
  calling a function.
- rename add_method_controller to add_method_wrapper 
							
						 
						
							2014-10-08 11:27:14 +02:00  
				
					
						
							
							
								 
						
							
								ab005a4261 
								
							 
						 
						
							
							
								
								Functional tests for id function  
							
							... 
							
							
							
							--HG--
branch : issue351 
							
						 
						
							2014-10-08 00:11:32 +01:00  
				
					
						
							
							
								 
						
							
								b6e619413f 
								
							 
						 
						
							
							
								
								merge pytest  default  
							
							
							
						 
						
							2014-10-07 18:11:15 +02:00  
				
					
						
							
							
								 
						
							
								68f3818562 
								
							 
						 
						
							
							
								
								fix add_method_controller to deal properly in the event of exceptions.  
							
							... 
							
							
							
							add a docstring as well. 
							
						 
						
							2014-10-07 16:16:47 +02:00  
				
					
						
							
							
								 
						
							
								a298077461 
								
							 
						 
						
							
							
								
								merge with default  
							
							
							
						 
						
							2014-10-07 01:06:15 +02:00  
				
					
						
							
							
								 
						
							
								a759da0208 
								
							 
						 
						
							
							
								
								Escape % character in the assertion message.  closes   #604  
							
							
							
						 
						
							2014-10-07 01:01:21 +02:00  
				
					
						
							
							
								 
						
							
								c45b7012f5 
								
							 
						 
						
							
							
								
								docs for "pytest_addhooks" hook.  Thanks Bruno Oliveira.  
							
							... 
							
							
							
							updated plugin index docs.  Thanks Bruno Oliveira.
fix issue557: with "-k" we only allow the old style "-" for negation
at the beginning of strings and even that is deprecated.  Use "not" instead.
This should allow to pick parametrized tests where "-" appeared in the parameter. 
							
						 
						
							2014-10-06 14:26:03 +02:00  
				
					
						
							
							
								 
						
							
								818a412d29 
								
							 
						 
						
							
							
								
								simplify internal pytester machinery  
							
							
							
						 
						
							2014-10-06 13:37:57 +02:00  
				
					
						
							
							
								 
						
							
								2cb0145bce 
								
							 
						 
						
							
							
								
								fix issue557: with "-k" we only allow the old style "-" for negation  
							
							... 
							
							
							
							at the beginning of strings and even that is deprecated.  Use "not" instead.
This should allow to pick parametrized tests where "-" appeared in the parameter. 
							
						 
						
							2014-10-06 12:11:48 +02:00  
				
					
						
							
							
								 
						
							
								ba8ae427e2 
								
							 
						 
						
							
							
								
								Added test for ValueError in custom assert message with % sign (issue  #604 )  
							
							... 
							
							
							
							https://bitbucket.org/hpk42/pytest/issue/604/valueerror-unsupported-format-character-in  
						
							2014-10-05 14:49:15 +02:00  
				
					
						
							
							
								 
						
							
								3d84f35850 
								
							 
						 
						
							
							
								
								simplify method to record calls  
							
							
							
						 
						
							2014-10-04 15:49:31 +02:00  
				
					
						
							
							
								 
						
							
								d8f4663f49 
								
							 
						 
						
							
							
								
								factor out a small "wrapping" helper  
							
							
							
						 
						
							2014-10-04 15:49:31 +02:00  
				
					
						
							
							
								 
						
							
								69ff29bf44 
								
							 
						 
						
							
							
								
								remove overhead for tracing of hook calls and remove some old unused code  
							
							
							
						 
						
							2014-10-02 15:25:42 +02:00  
				
					
						
							
							
								 
						
							
								c7c4f62f77 
								
							 
						 
						
							
							
								
								optimize argument slicing when calling plugin hooks  
							
							
							
						 
						
							2014-10-01 14:55:54 +02:00  
				
					
						
							
							
								 
						
							
								f250e912eb 
								
							 
						 
						
							
							
								
								simplify _scan_plugin implementation and store argnames on HookCaller  
							
							
							
						 
						
							2014-10-01 13:57:35 +02:00  
				
					
						
							
							
								 
						
							
								28c785a0d1 
								
							 
						 
						
							
							
								
								call scanning of plugins directly, code is shifted from helpconfig.py to core.py  
							
							
							
						 
						
							2014-10-01 12:20:11 +02:00  
				
					
						
							
							
								 
						
							
								9a0f2a9fb7 
								
							 
						 
						
							
							
								
								Improve assertion failure reporting on iterables, by using ndiff and pprint.  
							
							
							
						 
						
							2014-09-27 01:29:47 +00:00  
				
					
						
							
							
								 
						
							
								62b8712ca9 
								
							 
						 
						
							
							
								
								Let xfail work on non-python Items  
							
							... 
							
							
							
							For some reason xfail was only implemented on non-python Item
instances.  This removes this guard which means plugins creating new
items can raise pytest.xfail.Exception and it will work as expected. 
							
						 
						
							2014-09-23 23:55:26 +01:00  
				
					
						
							
							
								 
						
							
								be503f1c43 
								
							 
						 
						
							
							
								
								Merged in wosc/pytest (pull request  #204 )  
							
							... 
							
							
							
							Introduce pytest_enter_pdb hook 
							
						 
						
							2014-09-23 14:04:47 +02:00  
				
					
						
							
							
								 
						
							
								5abca55412 
								
							 
						 
						
							
							
								
								Merged in nicoddemus/pytest (pull request  #203 )  
							
							... 
							
							
							
							fix issue575: xunit-xml reporting collection errors as failures 
							
						 
						
							2014-09-22 19:25:34 +02:00  
				
					
						
							
							
								 
						
							
								79d2edcbff 
								
							 
						 
						
							
							
								
								Merged in flub/pytest (pull request  #207 )  
							
							... 
							
							
							
							Show both user assertion msg as explanation (issue549) 
							
						 
						
							2014-09-22 19:16:10 +02:00  
				
					
						
							
							
								 
						
							
								35eec99d41 
								
							 
						 
						
							
							
								
								stop leaking file descriptors  
							
							... 
							
							
							
							tripps --lsof on os x but not on linux. there's possibly a bug in the leak
detector (not investigated here)
--HG--
branch : stop_leaking_fds 
							
						 
						
							2014-09-22 13:56:07 +01:00  
				
					
						
							
							
								 
						
							
								bc4eecbbac 
								
							 
						 
						
							
							
								
								add `encoding` attr to DontReadFromInput  
							
							... 
							
							
							
							required by https://docs.python.org/2/library/stdtypes.html#file.encoding 
and used e.g. by ipdb at _import_ time
--HG--
branch : dontreadfrominput-encoding 
							
						 
						
							2014-09-22 12:19:27 +01:00  
				
					
						
							
							
								 
						
							
								1408c9f077 
								
							 
						 
						
							
							
								
								Introduce pytest_enter_pdb hook  
							
							
							
						 
						
							2014-09-18 14:58:42 +02:00  
				
					
						
							
							
								 
						
							
								418607846a 
								
							 
						 
						
							
							
								
								fix issue575: xunit-xml reporting collection errors as failures  
							
							
							
						 
						
							2014-09-15 22:04:46 -03:00  
				
					
						
							
							
								 
						
							
								b6dcfd4377 
								
							 
						 
						
							
							
								
								fix conftest related fixture visibility issue: when running with a  
							
							... 
							
							
							
							CWD outside a test package pytest would get fixture discovery wrong.
Thanks to Wolfgang Schnerring for figuring out a reproducable example.
--HG--
branch : conftest-nodeid 
							
						 
						
							2014-09-15 12:44:16 +02:00  
				
					
						
							
							
								 
						
							
								c692a0ee9c 
								
							 
						 
						
							
							
								
								Remove jython from tested python versions  
							
							... 
							
							
							
							After testing with the jython 2.7 beta it seems it will require some
work to get jython back working.  So for now remove it from this list
so it doesn't get picked up by normal test runs. 
							
						 
						
							2014-09-06 18:44:18 +01:00  
				
					
						
							
							
								 
						
							
								a8dfe34bfb 
								
							 
						 
						
							
							
								
								Merged in uweschmitt/pytest/default (pull request  #194 )  
							
							
							
						 
						
							2014-09-05 23:57:18 +01:00  
				
					
						
							
							
								 
						
							
								7d9d502a01 
								
							 
						 
						
							
							
								
								Use py3k compatible .__getattr__() code  
							
							... 
							
							
							
							From the python-dev thread it seemed like using
object.__getattribute__(self, 'name') is the cleanest way of
implementing a class wich uses .__getattr__() and should be
pickelable.  That only works on new-style classes so this also turns
HookProxy into a new-style class on py2.
This also re-writes the test to not use cPickle so it runs on py3k. 
							
						 
						
							2014-09-05 23:55:14 +01:00  
				
					
						
							
							
								 
						
							
								745737e337 
								
							 
						 
						
							
							
								
								strike python2.5 from test code cc @flub  
							
							
							
						 
						
							2014-09-05 09:50:40 +02:00  
				
					
						
							
							
								 
						
							
								eae1055fb0 
								
							 
						 
						
							
							
								
								Merged in nocoddemus/pytest/cx_freeze-support (pull request  #189 )  
							
							
							
						 
						
							2014-09-03 21:55:46 +01:00  
				
					
						
							
							
								 
						
							
								2e1c36bbb6 
								
							 
						 
						
							
							
								
								merged in flub/pytest (PR  #195 )  
							
							
							
						 
						
							2014-09-02 12:33:19 +02:00  
				
					
						
							
							
								 
						
							
								d4cd1aad8e 
								
							 
						 
						
							
							
								
								improvements to rewrite cache invalidation  
							
							... 
							
							
							
							- stat the source path before it is read.
- Validate the source size in addition to mtime. 
							
						 
						
							2014-09-01 16:51:27 -04:00  
				
					
						
							
							
								 
						
							
								39a297afe6 
								
							 
						 
						
							
							
								
								Improve test by also matching expected output  
							
							
							
						 
						
							2014-08-30 21:57:01 +01:00  
				
					
						
							
							
								 
						
							
								37bd1e03cb 
								
							 
						 
						
							
							
								
								Show user assertion messages and instrospection together  
							
							... 
							
							
							
							User provided messages, or any valid expression given as second
argument to the assert statement, are now shown in addition to the
py.test introspection details.  Formerly any user provided message
would entirely replace the introspection details.
Fixes issue549. 
							
						 
						
							2014-08-23 18:14:25 +02:00  
				
					
						
							
							
								 
						
							
								d1bde69c1e 
								
							 
						 
						
							
							
								
								added smoke test for bug fixed in 3716:dc080608b6d1  
							
							
							
						 
						
							2014-08-19 12:57:37 +02:00  
				
					
						
							
							
								 
						
							
								424479cf0f 
								
							 
						 
						
							
							
								
								Escape newlines in repr for assertion rewriting  
							
							... 
							
							
							
							The assertion formatting mini-language depends on newlines being
escaped.  Unfortunately if the repr of an object contained
newlines the rewriting module did not escape those, which is now
fixed.
Fixes issue453. 
							
						 
						
							2014-08-18 20:07:38 +02: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  
				
					
						
							
							
								 
						
							
								5873ca5146 
								
							 
						 
						
							
							
								
								Merging with default  
							
							... 
							
							
							
							--HG--
branch : cx_freeze-support 
							
						 
						
							2014-08-11 20:07:11 -03:00  
				
					
						
							
							
								 
						
							
								d2903507d8 
								
							 
						 
						
							
							
								
								Moved freeze_includes() to genscript  
							
							... 
							
							
							
							--HG--
branch : cx_freeze-support 
							
						 
						
							2014-08-11 20:03:14 -03:00  
				
					
						
							
							
								 
						
							
								1d7b574b31 
								
							 
						 
						
							
							
								
								fix issue555: just add "errors" attribute to internal Capture stream.  
							
							
							
						 
						
							2014-08-07 11:05:42 +02:00  
				
					
						
							
							
								 
						
							
								d16fdb378c 
								
							 
						 
						
							
							
								
								merge PR192, streamline a bit.  
							
							
							
						 
						
							2014-08-07 10:42:23 +02:00  
				
					
						
							
							
								 
						
							
								fd4485a540 
								
							 
						 
						
							
							
								
								Fixed assertionrewrite._read_pyc to handle corrupted pyc files properly  
							
							... 
							
							
							
							This seems to be the cause for issues #437  and #301 .
--HG--
branch : assertionrewrite-currupted-pyc 
							
						 
						
							2014-08-02 18:01:28 -03:00  
				
					
						
							
							
								 
						
							
								d6fc489b2b 
								
							 
						 
						
							
							
								
								Backed out changeset e57017ad86ce -- logging should not be imported  
							
							
							
						 
						
							2014-08-01 08:13:44 +02:00  
				
					
						
							
							
								 
						
							
								4e8438afc8 
								
							 
						 
						
							
							
								
								Simply show the node ID for verbose output  
							
							... 
							
							
							
							This strips the line number, /@\d/, from the verbose output so it is
directly the node ID of the test.  This in turn means no special logic
for accepting the line number as part of the node ID is needed when
parsing the command line. 
							
						 
						
							2014-08-01 00:29:35 +01:00  
				
					
						
							
							
								 
						
							
								b1f8038abf 
								
							 
						 
						
							
							
								
								Minor fixed in test_capture  
							
							... 
							
							
							
							This test failed only in py34. We don't import logging directly,
but it seems that one of the standard modules that are now
globally imported started including this on py34.
Just removed the assert as it doesn't seem central to the
test's objective. 
							
						 
						
							2014-07-31 19:52:08 -03:00  
				
					
						
							
							
								 
						
							
								3c649cf91d 
								
							 
						 
						
							
							
								
								guarding scripts with __main__ and doc changes  
							
							... 
							
							
							
							tox-flakes environment tries to import the modules for
checking, and that may fail because of its dependencies
--HG--
branch : cx_freeze-support 
							
						 
						
							2014-07-30 22:28:03 -03:00  
				
					
						
							
							
								 
						
							
								82d573e391 
								
							 
						 
						
							
							
								
								fixed line endings for test_doctest.txt  
							
							... 
							
							
							
							--HG--
branch : cx_freeze-support 
							
						 
						
							2014-07-30 21:57:19 -03:00  
				
					
						
							
							
								 
						
							
								b7b96b24d8 
								
							 
						 
						
							
							
								
								Docs about cx_freeze support and minor adjustments  
							
							... 
							
							
							
							--HG--
branch : cx_freeze-support 
							
						 
						
							2014-07-30 21:50:00 -03:00  
				
					
						
							
							
								 
						
							
								990e7bf3b9 
								
							 
						 
						
							
							
								
								first implementation and tox environment for cx-freeze support  
							
							... 
							
							
							
							--HG--
branch : cx_freeze-support 
							
						 
						
							2014-07-30 19:16:51 -03:00  
				
					
						
							
							
								 
						
							
								8ff8dd3ae9 
								
							 
						 
						
							
							
								
								Merged in fix_initial_parsing (pull request  #186 )  
							
							... 
							
							
							
							Fix issue544 and fix another issue with parsing ``::`` 
							
						 
						
							2014-07-28 14:16:02 +02:00  
				
					
						
							
							
								 
						
							
								0d17dc1e19 
								
							 
						 
						
							
							
								
								add a comment for why we only consider .py files when removing @  
							
							... 
							
							
							
							--HG--
branch : fix_initial_parsing 
							
						 
						
							2014-07-28 13:56:10 +02:00  
				
					
						
							
							
								 
						
							
								1265612465 
								
							 
						 
						
							
							
								
								fix issue547 2.6 regression: capsys/capfd now work again when output capturing ("-s") is disabled.  
							
							
							
						 
						
							2014-07-28 13:17:37 +02:00  
				
					
						
							
							
								 
						
							
								40eed363e8 
								
							 
						 
						
							
							
								
								fix issue544 by only removing "@NUM" at the end of a part (parts are  
							
							... 
							
							
							
							separated by "::") and if the part has an .py extension.
--HG--
branch : fix_initial_parsing 
							
						 
						
							2014-07-28 12:07:15 +02:00  
				
					
						
							
							
								 
						
							
								5ccd3f2fc5 
								
							 
						 
						
							
							
								
								fix conftest detection if commandline arguments contain "::" syntax  
							
							... 
							
							
							
							--HG--
branch : fix_initial_parsing 
							
						 
						
							2014-07-28 11:48:37 +02:00  
				
					
						
							
							
								 
						
							
								8792261df1 
								
							 
						 
						
							
							
								
								Merged in ticosax/pytest/mock-unittest-252 (pull request  #184 )  
							
							... 
							
							
							
							Injection of fixture doesn't work when decorated with unittest.mock.patch 
							
						 
						
							2014-07-28 10:31:31 +02:00  
				
					
						
							
							
								 
						
							
								309e3d38a0 
								
							 
						 
						
							
							
								
								Directly pass multiple parameters with mark.parametrize()  
							
							... 
							
							
							
							--HG--
branch : xfail-cause 
							
						 
						
							2014-07-26 18:19:27 +02:00  
				
					
						
							
							
								 
						
							
								6a4492a22d 
								
							 
						 
						
							
							
								
								isinstance() on exception value instead of comparing types, consolidate tests  
							
							... 
							
							
							
							--HG--
branch : xfail-cause 
							
						 
						
							2014-07-26 17:46:50 +02:00  
				
					
						
							
							
								 
						
							
								0dd378da30 
								
							 
						 
						
							
							
								
								Injection of fixture doesn't work when decorated with unittest.mock.patch  
							
							... 
							
							
							
							This is a continuation of #182 
--HG--
branch : mock-unittest-252 
							
						 
						
							2014-07-26 17:26:18 +02:00  
				
					
						
							
							
								 
						
							
								7b273b8577 
								
							 
						 
						
							
							
								
								Add mark.xfail argument raises so that unexpected exceptions show up as test failures.  
							
							... 
							
							
							
							--HG--
branch : xfail-cause 
							
						 
						
							2014-07-26 15:11:05 +02:00  
				
					
						
							
							
								 
						
							
								1641d00cb1 
								
							 
						 
						
							
							
								
								Merge default  
							
							
							
						 
						
							2014-07-18 01:34:08 +01:00  
				
					
						
							
							
								 
						
							
								2d7a32f7ea 
								
							 
						 
						
							
							
								
								Add test case for using different modules  
							
							
							
						 
						
							2014-07-18 01:30:29 +01:00  
				
					
						
							
							
								 
						
							
								80ad3fb8ed 
								
							 
						 
						
							
							
								
								Merged in wooparadog/pytest (pull request  #163 )  
							
							... 
							
							
							
							Also replace `report.longrepr` with `bin_xml_escape`ed skipreason 
							
						 
						
							2014-07-15 22:17:15 +02:00  
				
					
						
							
							
								 
						
							
								8c508612ec 
								
							 
						 
						
							
							
								
								with pypy this tests leaks one FD but it's probably a residual effect of the testing machinery and Pypy's lazy GC.  
							
							
							
						 
						
							2014-07-14 09:17:04 +02:00  
				
					
						
							
							
								 
						
							
								07e76cbef2 
								
							 
						 
						
							
							
								
								fix issue364: shorten and enhance tracebacks representation by default.  
							
							... 
							
							
							
							The new "--tb=auto" option (default) will only display long tracebacks
for the first and last entry.  You can get the old behaviour of printing
all entries as long entries with "--tb=long".  Also short entries by
default are now printed very similarly to "--tb=native" ones. 
							
						 
						
							2014-06-29 13:32:53 +02:00  
				
					
						
							
							
								 
						
							
								c8264385ea 
								
							 
						 
						
							
							
								
								Implement the "-c" command line switch that allows to explicitly specifiy the config file to load.  
							
							... 
							
							
							
							This feature was requested in issue #174 .
--HG--
branch : explicit-ini-filename 
							
						 
						
							2014-06-27 17:42:37 +02:00  
				
					
						
							
							
								 
						
							
								54c88a6cf3 
								
							 
						 
						
							
							
								
								fix flakes issues  
							
							
							
						 
						
							2014-06-16 11:27:32 +02:00  
				
					
						
							
							
								 
						
							
								115f15600f 
								
							 
						 
						
							
							
								
								Add test for inter-dependent fixtures  
							
							... 
							
							
							
							Together with cc0a46a13ac4 this fixes issue 467. 
							
						 
						
							2014-06-15 19:57:52 +01:00  
				
					
						
							
							
								 
						
							
								fd9055fd11 
								
							 
						 
						
							
							
								
								fix test on Python 3.2  
							
							
							
						 
						
							2014-05-31 14:51:05 -07:00  
				
					
						
							
							
								 
						
							
								780bdda95a 
								
							 
						 
						
							
							
								
								assert reinterpretation: try mangling attributes that look like private class vars ( fixes   #514 )  
							
							
							
						 
						
							2014-05-31 14:37:02 -07:00  
				
					
						
							
							
								 
						
							
								d6281b4206 
								
							 
						 
						
							
							
								
								- restore compatibility to old getvalueorskip behaviour  
							
							... 
							
							
							
							- introduce a better NOTSET representation to improve docs 
							
						 
						
							2014-05-14 07:36:31 +02:00  
				
					
						
							
							
								 
						
							
								0567a8ee77 
								
							 
						 
						
							
							
								
								Add test for skipped case with utf-8 message  
							
							
							
						 
						
							2014-04-24 10:45:39 +08:00  
				
					
						
							
							
								 
						
							
								4e35c00ab0 
								
							 
						 
						
							
							
								
								issue351: Add ability to specify parametrize ids as a callable, to generate custom test ids. + tests, docs  
							
							... 
							
							
							
							--HG--
branch : issue351 
							
						 
						
							2014-04-17 15:08:49 -04:00  
				
					
						
							
							
								 
						
							
								c46e2cbbc7 
								
							 
						 
						
							
							
								
								Cache exception raised in fixtures according to their scope  
							
							... 
							
							
							
							Without this if a session scoped fixture fails it's setup it will
be re-tried each time it is requested.  Especially in case of
skip or failure exceptions this can be undesirable, but caching
makes sense for all exceptions. 
							
						 
						
							2014-04-15 22:22:41 -04:00  
				
					
						
							
							
								 
						
							
								c47835f5ec 
								
							 
						 
						
							
							
								
								Merge pull request  #158 , fixes issue 504  
							
							
							
						 
						
							2014-04-15 11:43:38 -04:00  
				
					
						
							
							
								 
						
							
								faba432996 
								
							 
						 
						
							
							
								
								Improve error message if pytest.raises is used wrongly  
							
							... 
							
							
							
							If the type is not checked then an incomprehensible error will occur
later.  This enforces the type and raies the same exception/msg as
CPython does in that case.
Docstring unmodified, just re-justified for pep8 compat. 
							
						 
						
							2014-04-14 18:09:10 -04:00  
				
					
						
							
							
								 
						
							
								2ba23e8d08 
								
							 
						 
						
							
							
								
								issue504: verbose output displays node IDs for each test  
							
							... 
							
							
							
							Replace the verbose per-test reporting format of `file:line test_name RESULT`
with the node ID of the test, i.e. `file@line::class::method[param] RESULT`.
This patch does not update the examples in the docs; @hpk42 has a script
to regenerate those.
--HG--
branch : issue504 
							
						 
						
							2014-04-14 17:42:02 -04:00  
				
					
						
							
							
								 
						
							
								15af7e1662 
								
							 
						 
						
							
							
								
								fix tests to properly fail on failed collectiosn (which was hiding an error)  
							
							... 
							
							
							
							and also implement __test__=False for test functions properly.
--HG--
branch : nose_test_attr 
							
						 
						
							2014-04-10 13:37:39 +02:00  
				
					
						
							
							
								 
						
							
								e42cbc714f 
								
							 
						 
						
							
							
								
								fix wrong merge  
							
							... 
							
							
							
							--HG--
branch : nose_test_attr 
							
						 
						
							2014-04-10 12:58:10 +02:00  
				
					
						
							
							
								 
						
							
								494be731e3 
								
							 
						 
						
							
							
								
								support nose-style ``__test__`` attribute on modules, classes and  
							
							... 
							
							
							
							functions, including unittest-style Classes.  If set to True, the
test will not be collected.
--HG--
branch : nose_test_attr 
							
						 
						
							2014-04-10 12:46:27 +02:00  
				
					
						
							
							
								 
						
							
								f91049cec9 
								
							 
						 
						
							
							
								
								fix issue473: work around mock putting an unbound method into a class  
							
							... 
							
							
							
							dict when double-patching.
--HG--
branch : issue473 
							
						 
						
							2014-04-08 12:50:13 +02:00  
				
					
						
							
							
								 
						
							
								ef7cb47b1e 
								
							 
						 
						
							
							
								
								fix issue498: if a fixture finalizer fails, make sure that the fixture  
							
							... 
							
							
							
							is still invalidated.
--HG--
branch : issue498 
							
						 
						
							2014-04-07 13:29:57 +02:00  
				
					
						
							
							
								 
						
							
								cbe31f3748 
								
							 
						 
						
							
							
								
								Merged in msabramo/pytest/makepyfile_utf8 (pull request  #134 )  
							
							... 
							
							
							
							Make makepyfile accept UTF-8 so a few cookie tests in test_assertrewrite.py 
							
						 
						
							2014-04-03 10:00:24 +02:00  
				
					
						
							
							
								 
						
							
								b4fe91943d 
								
							 
						 
						
							
							
								
								Merged in hpk42/pytest-hpk/conftest-clean (pull request  #148 )  
							
							... 
							
							
							
							cleanup internal conftest handling and avoid the strange None entry in the conftest cache. 
							
						 
						
							2014-04-03 09:38:47 +02:00  
				
					
						
							
							
								 
						
							
								0365e5c3a0 
								
							 
						 
						
							
							
								
								cleanup internal conftest handling and avoid the strange None entry in the conftest cache.  
							
							... 
							
							
							
							(There is basically no reason to ask for conftestmodules without specifying a path.)
--HG--
branch : conftest-clean 
							
						 
						
							2014-04-02 22:30:45 +02:00  
				
					
						
							
							
								 
						
							
								e6859406f1 
								
							 
						 
						
							
							
								
								fix test on py33, thanks msabramo1  
							
							
							
						 
						
							2014-04-02 20:49:57 +02:00  
				
					
						
							
							
								 
						
							
								51cff6f106 
								
							 
						 
						
							
							
								
								fix issue486: better reporting and handling of early conftest loading failures  
							
							... 
							
							
							
							--HG--
branch : issue486 
							
						 
						
							2014-04-02 20:42:41 +02:00  
				
					
						
							
							
								 
						
							
								68e58e1493 
								
							 
						 
						
							
							
								
								add a test for robustness of capturing when a test closes FD1/2  
							
							
							
						 
						
							2014-04-02 20:29:10 +02:00  
				
					
						
							
							
								 
						
							
								7d10a57514 
								
							 
						 
						
							
							
								
								Merged in msabramo/pytest/remove_unused_import (pull request  #146 )  
							
							... 
							
							
							
							testing/test_capture.py: Remove unused stuff for PEP8 compliance 
							
						 
						
							2014-04-02 18:56:46 +02:00  
				
					
						
							
							
								 
						
							
								2c0f6207e9 
								
							 
						 
						
							
							
								
								test_capture.py: More PEP8. Remove unused `cap` in `with`.  
							
							... 
							
							
							
							--HG--
branch : remove_unused_import 
							
						 
						
							2014-04-02 09:48:08 -07:00  
				
					
						
							
							
								 
						
							
								adb12d0d4f 
								
							 
						 
						
							
							
								
								Escape newlines in result from assertrepr hook  
							
							... 
							
							
							
							The result from the pytest_assertrepr_compare hook should not include
any newlines since that will confuse the mini-formatting language used
by assertion.util.format_explanation.  So simply escape the included
newlines, this way hook writers do not have to worry about this at
all.
Fixes issue 453. 
							
						 
						
							2014-04-02 17:35:22 +01:00  
				
					
						
							
							
								 
						
							
								02d94e69f0 
								
							 
						 
						
							
							
								
								testing/test_capture.py: Remove unused `import tempfile`  
							
							... 
							
							
							
							--HG--
branch : remove_unused_import 
							
						 
						
							2014-04-02 09:14:16 -07:00  
				
					
						
							
							
								 
						
							
								0c04b44919 
								
							 
						 
						
							
							
								
								fix issue492: avoid leak in test_writeorg  
							
							
							
						 
						
							2014-04-02 12:32:21 +02:00  
				
					
						
							
							
								 
						
							
								3bca62e9e4 
								
							 
						 
						
							
							
								
								fix issue436: improved finding of initial conftest files from command  
							
							... 
							
							
							
							line arguments by using the result of parse_known_args rather than
the previous flaky heuristics.  Thanks Marc Abramowitz for tests
and initial fixing approaches in this area. 
							
						 
						
							2014-04-02 11:29:23 +02:00  
				
					
						
							
							
								 
						
							
								72b4534a0c 
								
							 
						 
						
							
							
								
								add changelog entry for some PRs: improvements to pytest's own  
							
							... 
							
							
							
							test-suite leakage detection, courtesy of PRs from Marc Abramowitz 
							
						 
						
							2014-04-02 09:51:24 +02:00  
				
					
						
							
							
								 
						
							
								21b4280126 
								
							 
						 
						
							
							
								
								Merged in msabramo/pytest/test_writeorg_close_tempfile (pull request  #136 )  
							
							... 
							
							
							
							test_writeorg: Close a tempfile 
							
						 
						
							2014-04-02 09:30:55 +02:00  
				
					
						
							
							
								 
						
							
								30a9debaf1 
								
							 
						 
						
							
							
								
								Merged in msabramo/pytest/refactor_LsofFdLeakChecker (pull request  #138 )  
							
							... 
							
							
							
							testing/conftest.py: Refactor lsof fd leak checking 
							
						 
						
							2014-04-02 09:24:16 +02:00  
				
					
						
							
							
								 
						
							
								f824a73143 
								
							 
						 
						
							
							
								
								Remove cast of fd to int and sorting  
							
							... 
							
							
							
							Casting of fd can break for non-numeric fd (e.g.: "rtd" on Linux) and isn't
necessary since we don't need to sort.
--HG--
branch : refactor_LsofFdLeakChecker 
							
						 
						
							2014-04-01 15:36:54 -07:00  
				
					
						
							
							
								 
						
							
								e45a33f029 
								
							 
						 
						
							
							
								
								testing/conftest.py: Reintialize config._openfiles for each test  
							
							... 
							
							
							
							And no longer need getopenfiles or config._numfiles
--HG--
branch : refactor_LsofFdLeakChecker 
							
						 
						
							2014-04-01 14:13:11 -07:00  
				
					
						
							
							
								 
						
							
								064e79761c 
								
							 
						 
						
							
							
								
								Improve LsofFdLeakChecker; more reliable and useful leak checking  
							
							... 
							
							
							
							* Make it invoke lsof with options for machine-readable output
* Parse out file descriptor and filename from lsof output
* Draw attention to file descriptors now open that weren't open before
--HG--
branch : refactor_LsofFdLeakChecker 
							
						 
						
							2014-04-01 13:41:35 -07:00  
				
					
						
							
							
								 
						
							
								f7713c47e8 
								
							 
						 
						
							
							
								
								testing/conftest.py: Refactor lsof fd leak checking  
							
							... 
							
							
							
							Isolate the logic into one class to make easier to understand, more maintainable.
This may aid in later plugging in an alternative implementation, such as one
that uses psutil
(https://bitbucket.org/hpk42/pytest/pull-request/137/use-psutil-to-detect-open-files-in-tests/diff )
--HG--
branch : refactor_LsofFdLeakChecker 
							
						 
						
							2014-04-01 10:15:27 -07:00  
				
					
						
							
							
								 
						
							
								ce8678e6d5 
								
							 
						 
						
							
							
								
								remove non-documented per-conftest capturing option and simplify/refactor all code accordingly.  Also make capturing more robust against tests closing FD1/2 and against pdb.set_trace() calls.  
							
							
							
						 
						
							2014-04-01 14:32:12 +02:00  
				
					
						
							
							
								 
						
							
								2e1f6c85f6 
								
							 
						 
						
							
							
								
								introduce resume/suspend functionality for FDCapture and SysCapture,  
							
							... 
							
							
							
							fixing problems with early bailouts (from argparse's parse() function e.g.)
that wrote to stdout. 
							
						 
						
							2014-04-01 14:19:58 +02:00  
				
					
						
							
							
								 
						
							
								ca5e6830c6 
								
							 
						 
						
							
							
								
								avoid some redundancy by using SysCapture from FDCapture for manipulating sys.std{out,in,err}  
							
							
							
						 
						
							2014-04-01 14:19:55 +02:00  
				
					
						
							
							
								 
						
							
								69cbac8fb5 
								
							 
						 
						
							
							
								
								rename StdCaptureBase to MultiCapture  
							
							
							
						 
						
							2014-04-01 14:19:52 +02:00  
				
					
						
							
							
								 
						
							
								7301981f32 
								
							 
						 
						
							
							
								
								test_writeorg: Close a tempfile  
							
							... 
							
							
							
							--HG--
branch : test_writeorg_close_tempfile 
							
						 
						
							2014-03-31 08:25:35 -07:00  
				
					
						
							
							
								 
						
							
								555ba4159d 
								
							 
						 
						
							
							
								
								Simplify tests; don't use u literal not supported in py32  
							
							... 
							
							
							
							--HG--
branch : makepyfile_utf8 
							
						 
						
							2014-03-28 12:11:33 -07:00  
				
					
						
							
							
								 
						
							
								f47ae74981 
								
							 
						 
						
							
							
								
								Make makepyfile accept UTF-8 so a few cookie tests in test_assertrewrite.py  
							
							... 
							
							
							
							don't need to be dedented.
--HG--
branch : makepyfile_utf8 
							
						 
						
							2014-03-28 09:44:18 -07:00  
				
					
						
							
							
								 
						
							
								9d716a39d6 
								
							 
						 
						
							
							
								
								fix issue412 and other encoding issues.  Streamline dupfile() into  
							
							... 
							
							
							
							a new more thoughtful safe_text_dupfile helper. 
							
						 
						
							2014-03-28 11:27:02 +01:00  
				
					
						
							
							
								 
						
							
								923dcfd620 
								
							 
						 
						
							
							
								
								cleanup and refine issue412 test (still failing on py33)  
							
							
							
						 
						
							2014-03-28 09:46:38 +01:00  
				
					
						
							
							
								 
						
							
								b5467645d3 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2014-03-28 09:27:44 +01:00  
				
					
						
							
							
								 
						
							
								17d7c60735 
								
							 
						 
						
							
							
								
								test_sys_meta_path_munged: Simplify with makepyfile  
							
							... 
							
							
							
							--HG--
branch : sys_meta_path_remove_hook_only_if_present 
							
						 
						
							2014-03-28 01:03:52 -07:00  
				
					
						
							
							
								 
						
							
								81f822d528 
								
							 
						 
						
							
							
								
								Only try to remove hook from sys.meta_path if it's present  
							
							... 
							
							
							
							Prevent error on exit if some code messes with sys.meta_path and removes the
assertionrewrite hook (CaptureMock seems to do this):
      File "/Users/marca/dev/hg-repos/pytest/_pytest/assertion/__init__.py", line 64, in pytest_unconfigure
        sys.meta_path.remove(hook)
    ValueError: list.remove(x): x not in list
--HG--
branch : sys_meta_path_remove_hook_only_if_present 
							
						 
						
							2014-03-28 00:33:12 -07:00  
				
					
						
							
							
								 
						
							
								0b340aa1f6 
								
							 
						 
						
							
							
								
								simplify some capturing tests  
							
							
							
						 
						
							2014-03-28 07:55:07 +01:00  
				
					
						
							
							
								 
						
							
								a8f4f49a82 
								
							 
						 
						
							
							
								
								simplify reset/stop_capturing and fix capturing wrt to capturing simple os.write() calls  
							
							
							
						 
						
							2014-03-28 07:11:25 +01:00  
				
					
						
							
							
								 
						
							
								e18c3ed494 
								
							 
						 
						
							
							
								
								unify and normalize Sys/FD Capturing classes  
							
							... 
							
							
							
							* * *
more unification 
							
						 
						
							2014-03-28 07:03:37 +01:00  
				
					
						
							
							
								 
						
							
								2263fcf6b7 
								
							 
						 
						
							
							
								
								remove unused "suspend/resume" on capturing, some formatting cleanup  
							
							
							
						 
						
							2014-03-28 07:03:34 +01:00  
				
					
						
							
							
								 
						
							
								2b2c1e5b7b 
								
							 
						 
						
							
							
								
								condition for python3 of the xfailing test for 412  
							
							
							
						 
						
							2014-03-27 14:01:38 +01:00  
				
					
						
							
							
								 
						
							
								7b63fa5966 
								
							 
						 
						
							
							
								
								merge in current default  
							
							
							
						 
						
							2014-03-27 13:57:54 +01:00  
				
					
						
							
							
								 
						
							
								b18040337a 
								
							 
						 
						
							
							
								
								xfailing test for issue 412  
							
							
							
						 
						
							2014-03-27 13:53:59 +01:00  
				
					
						
							
							
								 
						
							
								bb0632c7ad 
								
							 
						 
						
							
							
								
								extend test  
							
							
							
						 
						
							2014-03-26 19:37:49 +01:00  
				
					
						
							
							
								 
						
							
								530cae9204 
								
							 
						 
						
							
							
								
								Merged in cgilling/pytest (pull request  #123 )  
							
							... 
							
							
							
							Fix to work properly when @patch is used with new not equal to DEFAULT 
							
						 
						
							2014-03-26 19:05:46 +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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								86284689a3 
								
							 
						 
						
							
							
								
								simplify loop which turns direct funcarg parametrization to indirect  
							
							
							
						 
						
							2014-01-27 12:53:44 +01:00  
				
					
						
							
							
								 
						
							
								4622c28ffd 
								
							 
						 
						
							
							
								
								setupstate.addfinalizer(): fix docstring and remove related unit test not covering functional reality  
							
							
							
						 
						
							2014-01-26 12:44:21 +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  
				
					
						
							
							
								 
						
							
								97da43d909 
								
							 
						 
						
							
							
								
								merge from default  
							
							... 
							
							
							
							--HG--
branch : multi-usageerror 
							
						 
						
							2014-01-25 10:42:21 +01:00  
				
					
						
							
							
								 
						
							
								177637bfb9 
								
							 
						 
						
							
							
								
								Redo the Capture integration propperly  
							
							
							
						 
						
							2014-01-24 21:22:19 +01:00  
				
					
						
							
							
								 
						
							
								400b51caf6 
								
							 
						 
						
							
							
								
								mark encoding test as xfail also on py2  
							
							
							
						 
						
							2014-01-22 22:18:33 +01:00  
				
					
						
							
							
								 
						
							
								9aaf0fd340 
								
							 
						 
						
							
							
								
								backing out Ronny's PR because it was merged too early (still has failing tests)  
							
							
							
						 
						
							2014-01-22 22:15:40 +01:00  
				
					
						
							
							
								 
						
							
								ac2f2b1deb 
								
							 
						 
						
							
							
								
								add notes on the copied pylib version  
							
							
							
						 
						
							2014-01-22 21:50:07 +01:00  
				
					
						
							
							
								 
						
							
								0be961a0f3 
								
							 
						 
						
							
							
								
								capture tests: move imports and declarations to the top  
							
							
							
						 
						
							2014-01-22 21:46:35 +01:00  
				
					
						
							
							
								 
						
							
								3cc58c2f78 
								
							 
						 
						
							
							
								
								rewrite all testing uses of py.io to _pytest.capture  
							
							
							
						 
						
							2014-01-22 19:32:23 +01:00  
				
					
						
							
							
								 
						
							
								0ac94134f5 
								
							 
						 
						
							
							
								
								initial code import for capture transfer  
							
							
							
						 
						
							2014-01-22 19:04:38 +01:00  
				
					
						
							
							
								 
						
							
								c142f2551d 
								
							 
						 
						
							
							
								
								xfailing test for captire encoding issues with binary stdio  
							
							
							
						 
						
							2014-01-22 18:07:54 +01:00  
				
					
						
							
							
								 
						
							
								d02d0bb7b7 
								
							 
						 
						
							
							
								
								Merged in pelme/pytest/py2_pkg_skip (pull request  #107 )  
							
							... 
							
							
							
							fixed issue428: Skip test for packages without __init__.py on Python 2 
							
						 
						
							2014-01-22 14:46:22 +01:00  
				
					
						
							
							
								 
						
							
								fe4cdd8a90 
								
							 
						 
						
							
							
								
								fixed issue428: Skip test for packages without __init__.py on Python 2  
							
							... 
							
							
							
							--HG--
branch : py2_pkg_skip 
							
						 
						
							2014-01-22 14:32:22 +01:00  
				
					
						
							
							
								 
						
							
								54a143e6a8 
								
							 
						 
						
							
							
								
								add test: '--markers' listing info from plugins in current folder  
							
							... 
							
							
							
							When pytest is called with the '--markers' option, it should collect marker
information from the current folder, and they should get loaded and used
correctly before the '--markers' output is constructed. 
							
						 
						
							2014-01-22 14:16:39 +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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								83620ced2e 
								
							 
						 
						
							
							
								
								trim trailing spaces  
							
							
							
						 
						
							2014-01-18 10:40:20 +01:00  
				
					
						
							
							
								 
						
							
								99277be25f 
								
							 
						 
						
							
							
								
								Updated error message to be more helpful  
							
							... 
							
							
							
							Also, added misssing test 
							
						 
						
							2013-12-19 14:29:57 +01:00  
				
					
						
							
							
								 
						
							
								41bddb48a1 
								
							 
						 
						
							
							
								
								remove unused var (fixes flakes tests)  
							
							
							
						 
						
							2013-12-16 12:38:15 +01:00  
				
					
						
							
							
								 
						
							
								fd8638652d 
								
							 
						 
						
							
							
								
								Still print this, but use py2/py3 compat syntax  
							
							... 
							
							
							
							I realised being able to print is probably an essential part of this
test which I may have inadvertendly disabled, so correct that. 
							
						 
						
							2013-12-16 10:51:04 +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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								1b7c70eab4 
								
							 
						 
						
							
							
								
								Do not use py2-only print, breaks py3 testruns  
							
							
							
						 
						
							2013-12-15 22:12:38 +00:00  
				
					
						
							
							
								 
						
							
								e843b028e6 
								
							 
						 
						
							
							
								
								fix issue404 by more strict junitxml escape  
							
							
							
						 
						
							2013-12-13 10:28:23 +01:00  
				
					
						
							
							
								 
						
							
								98135a3d30 
								
							 
						 
						
							
							
								
								remove unusued import  
							
							
							
						 
						
							2013-12-12 06:55:05 +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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								7766526992 
								
							 
						 
						
							
							
								
								address issue122 -- explode "params" into a list in fixture function decorators  
							
							
							
						 
						
							2013-12-09 10:48:15 +01:00  
				
					
						
							
							
								 
						
							
								0d7af592c0 
								
							 
						 
						
							
							
								
								speed up a test  
							
							
							
						 
						
							2013-12-09 08:14:39 +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  
				
					
						
							
							
								 
						
							
								320137a4aa 
								
							 
						 
						
							
							
								
								Merged in msabramo/pytest/color_option (pull request  #91 )  
							
							... 
							
							
							
							Remove u'' literal in test_color_{yes,no} for Python 3.2 compat 
							
						 
						
							2013-12-08 20:56:21 +01:00  
				
					
						
							
							
								 
						
							
								0278dc9b6f 
								
							 
						 
						
							
							
								
								Remove u'' literal in test_color_{yes,no} for Python 3.2 compat  
							
							... 
							
							
							
							--HG--
branch : color_option 
							
						 
						
							2013-12-08 11:39:55 -08: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  
				
					
						
							
							
								 
						
							
								60f5b15f20 
								
							 
						 
						
							
							
								
								Remove superfluous `monkeypatch` arg to test_color_yes  
							
							... 
							
							
							
							--HG--
branch : color_option 
							
						 
						
							2013-12-07 12:04:23 -08: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  
				
					
						
							
							
								 
						
							
								daec4c70b8 
								
							 
						 
						
							
							
								
								refactor sorting wrt class-scopes.  This fixes issue396 and also simplifies  
							
							... 
							
							
							
							the internal sorting algorithm a bit. 
							
						 
						
							2013-12-07 19:31:27 +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  
				
					
						
							
							
								 
						
							
								bec6ee5c29 
								
							 
						 
						
							
							
								
								Assert 'test session starts' in output for test_color_{yes,no}  
							
							... 
							
							
							
							--HG--
branch : color_option 
							
						 
						
							2013-12-06 11:58:04 -08:00  
				
					
						
							
							
								 
						
							
								23fa4cec61 
								
							 
						 
						
							
							
								
								Add option: --color=(yes/no/auto)  
							
							... 
							
							
							
							--HG--
branch : color_option 
							
						 
						
							2013-12-06 11:49:48 -08:00  
				
					
						
							
							
								 
						
							
								cb485e5af4 
								
							 
						 
						
							
							
								
								reopen   #246  -- it turns out parametrized finalization ordering is not fully fixed -- i modified the test and marked it xfail for now.  
							
							
							
						 
						
							2013-12-04 16:09:37 +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  
				
					
						
							
							
								 
						
							
								5dbf4fc0c2 
								
							 
						 
						
							
							
								
								fix importorskip test  
							
							
							
						 
						
							2013-12-03 09:40:40 +01:00  
				
					
						
							
							
								 
						
							
								e3a945a0b5 
								
							 
						 
						
							
							
								
								Add test for unicode assertion descriptions  
							
							... 
							
							
							
							Also clean up a few debugging leftovers. 
							
						 
						
							2013-11-29 00:29:14 +00:00  
				
					
						
							
							
								 
						
							
								c0dd7c5975 
								
							 
						 
						
							
							
								
								fix issue275 - allow usefixtures and autouse fixtures  
							
							... 
							
							
							
							for running doctest text files. 
							
						 
						
							2013-11-22 15:35:20 +01: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  
				
					
						
							
							
								 
						
							
								663f824fc4 
								
							 
						 
						
							
							
								
								simplify basedir isolation  
							
							
							
						 
						
							2013-11-21 14:54:46 +01:00  
				
					
						
							
							
								 
						
							
								2700a94d49 
								
							 
						 
						
							
							
								
								remove an old duplicate marker and use recent pytest mechanism for parametrization  
							
							
							
						 
						
							2013-11-21 14:40:14 +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  
				
					
						
							
							
								 
						
							
								49119e31bf 
								
							 
						 
						
							
							
								
								fix py25 compat  
							
							
							
						 
						
							2013-11-21 12:31: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  
				
					
						
							
							
								 
						
							
								05fbd490da 
								
							 
						 
						
							
							
								
								addresses issue246: add a test for module/function scope that shows that  
							
							... 
							
							
							
							finalizer ordering is wrong. 
							
						 
						
							2013-11-21 09:42:24 +01:00  
				
					
						
							
							
								 
						
							
								5322f057a0 
								
							 
						 
						
							
							
								
								move two fixture test modules into bigger testing/python/fixture.py  
							
							
							
						 
						
							2013-11-21 09:26:45 +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  
				
					
						
							
							
								 
						
							
								9eff939b02 
								
							 
						 
						
							
							
								
								remove testing of xdist+genscript -- doesn't really make sense  
							
							... 
							
							
							
							because for installing pytest-xdist you need pytest installed
which defeats the purpose of genscript. 
							
						 
						
							2013-11-20 15:46:23 +01: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  
				
					
						
							
							
								 
						
							
								82846777a7 
								
							 
						 
						
							
							
								
								add missing importorskip  
							
							
							
						 
						
							2013-11-19 12:21:47 +01:00  
				
					
						
							
							
								 
						
							
								7f49e0fddc 
								
							 
						 
						
							
							
								
								xfail a test on pypy that checks wrong encoding/ascii (pypy does  
							
							... 
							
							
							
							not error out). fixes issue385.
also re-enable pypy tests in tox. 
							
						 
						
							2013-11-19 11:18:51 +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  
				
					
						
							
							
								 
						
							
								fde947e1a8 
								
							 
						 
						
							
							
								
								Merged in paylogic/pytest/ignore-autocomplete-on-darwin (pull request  #84 )  
							
							... 
							
							
							
							ignore argcomplete on darwin 
							
						 
						
							2013-11-13 07:44:24 +01:00  
				
					
						
							
							
								 
						
							
								ce0af892aa 
								
							 
						 
						
							
							
								
								Merged in paylogic/pytest/multi-level-fixture-deps-override (pull request  #83 )  
							
							... 
							
							
							
							When overridden, fixture's dependencies are called from all levels of folder structure 
							
						 
						
							2013-11-13 07:43:59 +01:00  
				
					
						
							
							
								 
						
							
								ba5d4ae42f 
								
							 
						 
						
							
							
								
								ignore argcomplete on darwin  
							
							... 
							
							
							
							--HG--
branch : ignore-autocomplete-on-darwin 
							
						 
						
							2013-11-12 13:52:16 +01:00  
				
					
						
							
							
								 
						
							
								d18124f5ed 
								
							 
						 
						
							
							
								
								support python32  
							
							... 
							
							
							
							--HG--
branch : python32-test-fix 
							
						 
						
							2013-11-12 13:48:17 +01:00  
				
					
						
							
							
								 
						
							
								846cf781a1 
								
							 
						 
						
							
							
								
								use deepest fixturedef for fixture closure  
							
							... 
							
							
							
							--HG--
branch : multi-level-fixture-deps-override 
							
						 
						
							2013-11-12 13:45:36 +01: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  
				
					
						
							
							
								 
						
							
								2697b63bcd 
								
							 
						 
						
							
							
								
								Fix bytes/string mismatch in test on Python 3  
							
							
							
						 
						
							2013-10-10 18:01:56 -04:00  
				
					
						
							
							
								 
						
							
								00c0d62c9b 
								
							 
						 
						
							
							
								
								Adding test capturing  #366  where an error occurs when package resources are loaded from the test package.  
							
							
							
						 
						
							2013-10-10 11:40:31 -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  
				
					
						
							
							
								 
						
							
								8b6e42317b 
								
							 
						 
						
							
							
								
								add test for detecting coding cookie with CRLF newlines  
							
							
							
						 
						
							2013-10-05 15:20:32 -04: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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								5aa5b9748d 
								
							 
						 
						
							
							
								
								fix argcomplete-test to use sys.argv[0] if it looks like a py.test executable  
							
							
							
						 
						
							2013-10-03 18:02:54 +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  
				
					
						
							
							
								 
						
							
								d3c9927fee 
								
							 
						 
						
							
							
								
								fix regression reported by dstufft: regression when a 1-tuple ("arg",) is used  
							
							... 
							
							
							
							for specifying parametrization (the values of the parametrization were passed
nested in a tuple). 
							
						 
						
							2013-10-02 08:08:26 +02:00  
				
					
						
							
							
								 
						
							
								1db6fc87c7 
								
							 
						 
						
							
							
								
								Allow unicode strings in parser.add_argument()  
							
							... 
							
							
							
							This fixes issue360 by also converting unicode strings to the argparse
syntax instead of just native strings. 
							
						 
						
							2013-10-01 13:20:20 +01:00  
				
					
						
							
							
								 
						
							
								d226b2faf4 
								
							 
						 
						
							
							
								
								release announcement, bump version numbers, some test adapatations because of random win32 test failures.  
							
							
							
						 
						
							2013-10-01 12:37:11 +02:00  
				
					
						
							
							
								 
						
							
								2c7d00579b 
								
							 
						 
						
							
							
								
								bump version, some windows test fixes, prevent logging from raising exceptions at the end (finally), add py25 to tox.ini.  
							
							
							
						 
						
							2013-09-30 16:09:26 +02:00  
				
					
						
							
							
								 
						
							
								de35b077a2 
								
							 
						 
						
							
							
								
								disallow yield in non-yield-fixtures for now.  This is an incompataibility but we want to prepare for possibly merging fixture and yield_fixture some day.  
							
							
							
						 
						
							2013-09-30 13:56:54 +02:00  
				
					
						
							
							
								 
						
							
								086d4e4ced 
								
							 
						 
						
							
							
								
								strike keyword argument in favour of new pytest.yield_fixture decorator  
							
							
							
						 
						
							2013-09-30 13:42:39 +02:00  
				
					
						
							
							
								 
						
							
								db6f347db6 
								
							 
						 
						
							
							
								
								fix issue358 -- introduce new pytest_load_initial_conftests hook and make capturing initialization use it, relying on a new (somewhat internal) parser.parse_known_args() method.  
							
							... 
							
							
							
							This also addresses issue359 -- plugins like pytest-django could implement a pytest_load_initial_conftests hook like the capture plugin. 
							
						 
						
							2013-09-30 13:14:16 +02:00  
				
					
						
							
							
								 
						
							
								4b709037ab 
								
							 
						 
						
							
							
								
								some more separation of core pluginmanager from pytest specific functionality.  
							
							... 
							
							
							
							Idea is to have the PluginManager be re-useable from other projects at some point. 
							
						 
						
							2013-09-30 13:14:14 +02:00  
				
					
						
							
							
								 
						
							
								d946299b0a 
								
							 
						 
						
							
							
								
								shift pytest_configure/unconfigure/addoption/namespace hook calling to config object.  
							
							... 
							
							
							
							The _pytest.config module itself is no longer a plugin but the actual
config instance is plugin-registered as ``pytestconfig``.
This allows to put most pytest specific logic to _pytest.config instead
of in the core pluginmanager. 
							
						 
						
							2013-09-30 13:14:14 +02:00  
				
					
						
							
							
								 
						
							
								8b1e53f6d3 
								
							 
						 
						
							
							
								
								avoid creation of file in os.getcwd() cc avanderneut  
							
							
							
						 
						
							2013-09-30 08:36:31 +02:00  
				
					
						
							
							
								 
						
							
								a930f44e60 
								
							 
						 
						
							
							
								
								introduce pluginmanager.ensure_teardown() which allows  
							
							
							
						 
						
							2013-09-28 22:23:00 +02:00  
				
					
						
							
							
								 
						
							
								fad7bd4393 
								
							 
						 
						
							
							
								
								simplify Config constructor  
							
							
							
						 
						
							2013-09-28 22:22:53 +02:00  
				
					
						
							
							
								 
						
							
								b80e875525 
								
							 
						 
						
							
							
								
								move FILE_OR_DIR constant out  
							
							
							
						 
						
							2013-09-28 09:52:41 +02:00  
				
					
						
							
							
								 
						
							
								1fc466e8ac 
								
							 
						 
						
							
							
								
								add terminalreporter.section|line methods to print extra information.  
							
							
							
						 
						
							2013-09-27 15:48:03 +02:00  
				
					
						
							
							
								 
						
							
								39503932a4 
								
							 
						 
						
							
							
								
								merge monkeypatch.replace into monkeypatch.setattr, also support monkeypatch.delattr.  
							
							
							
						 
						
							2013-09-27 12:33:06 +02:00  
				
					
						
							
							
								 
						
							
								da7133d201 
								
							 
						 
						
							
							
								
								fix some tests wrt to expecting output now that pytest does no  
							
							... 
							
							
							
							introduce unwanted "buffering" on "-s" calls. 
							
						 
						
							2013-09-27 12:28:34 +02:00  
				
					
						
							
							
								 
						
							
								030c337c68 
								
							 
						 
						
							
							
								
								don't manipulate FDs at all if output capturing is turned off.  
							
							
							
						 
						
							2013-09-27 09:49:39 +02:00  
				
					
						
							
							
								 
						
							
								3ab9b48782 
								
							 
						 
						
							
							
								
								introduce yieldctx=True in the @pytest.fixture decorator. Refactor tests and docs.  
							
							
							
						 
						
							2013-09-26 12:57:21 +02:00  
				
					
						
							
							
								 
						
							
								2bdd034242 
								
							 
						 
						
							
							
								
								fix issue355: junitxml generates name="pytest" tag.  
							
							
							
						 
						
							2013-09-26 08:45:50 +02:00  
				
					
						
							
							
								 
						
							
								b5a83a6af1 
								
							 
						 
						
							
							
								
								argcomplete_win: skip testing of argcomplete on windows  
							
							
							
						 
						
							2013-09-09 12:41:29 +02:00  
				
					
						
							
							
								 
						
							
								d565df90ad 
								
							 
						 
						
							
							
								
								fix issue333: fix a case of bad unittest/pytest hook interaction.  
							
							
							
						 
						
							2013-09-09 09:56:53 +02:00  
				
					
						
							
							
								 
						
							
								cf37c477bb 
								
							 
						 
						
							
							
								
								output errors for all failures of specific collection  
							
							... 
							
							
							
							when issueing a command with many specific items to collect,
print all collect failures instead of just the first one
--HG--
branch : multi-usageerror 
							
						 
						
							2013-09-08 22:26:51 +02:00  
				
					
						
							
							
								 
						
							
								63a924b922 
								
							 
						 
						
							
							
								
								parametrize fails when values are unhashable - tests  
							
							... 
							
							
							
							--HG--
branch : parametrize-fails-when-values-are 
							
						 
						
							2013-09-07 02:30:09 +02:00  
				
					
						
							
							
								 
						
							
								c478027805 
								
							 
						 
						
							
							
								
								make "import pdb ; pdb.set_trace()" work natively wrt capturing (no "-s" needed  
							
							... 
							
							
							
							anymore), turning ``pytest.set_trace()`` into a mere shortcut. 
							
						 
						
							2013-09-06 15:29:00 +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  
				
					
						
							
							
								 
						
							
								8360c1e687 
								
							 
						 
						
							
							
								
								xfail some tests for doctest support if pdbpp is installed  
							
							
							
						 
						
							2013-09-06 10:07:06 +02:00  
				
					
						
							
							
								 
						
							
								ca5d02df06 
								
							 
						 
						
							
							
								
								another way how bash reacts when no argcomplete is there?  
							
							
							
						 
						
							2013-09-05 22:32:35 +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  
				
					
						
							
							
								 
						
							
								b879074a64 
								
							 
						 
						
							
							
								
								refs issue290 -- move and refactor the test the string/int-id parametrization test (Which xfails)  
							
							
							
						 
						
							2013-08-16 11:41:31 +02:00  
				
					
						
							
							
								 
						
							
								4800aeaef7 
								
							 
						 
						
							
							
								
								Merged in markon/pytest (pull request  #66 )  
							
							... 
							
							
							
							Fix @parametrize. 
							
						 
						
							2013-08-16 11:38:00 +02:00  
				
					
						
							
							
								 
						
							
								ca7c1f5d8e 
								
							 
						 
						
							
							
								
								merge pull request  #27 : correctly handle nose.SkipTest during collection.  Thanks  
							
							... 
							
							
							
							Antonio Cuni, Ronny Pfannschmidt.  I did a few tweaks to the test and the
activation (depending on if unittest is imported at all). 
							
						 
						
							2013-08-16 11:33:58 +02:00  
				
					
						
							
							
								 
						
							
								f5a6a84314 
								
							 
						 
						
							
							
								
								test marked as  
							
							
							
						 
						
							2013-08-16 09:55:25 +02:00  
				
					
						
							
							
								 
						
							
								6c54ee03de 
								
							 
						 
						
							
							
								
								Fix @parametrize when using an integer and strings as parameters in a test accepting a parameter and a fixture as arguments.  
							
							
							
						 
						
							2013-08-15 12:52:34 +02:00  
				
					
						
							
							
								 
						
							
								0cd7effe35 
								
							 
						 
						
							
							
								
								fix broken python3 and python2.5 tests  
							
							... 
							
							
							
							--HG--
branch : fix-broken-tests 
							
						 
						
							2013-08-15 11:52:55 +02:00  
				
					
						
							
							
								 
						
							
								722b35b0a6 
								
							 
						 
						
							
							
								
								tests for fixture finalizers  
							
							... 
							
							
							
							--HG--
branch : overriden-fixture-finalizer 
							
						 
						
							2013-08-14 13:58:59 +02:00  
				
					
						
							
							
								 
						
							
								4b88d6d2d7 
								
							 
						 
						
							
							
								
								monkeypatch.replace() now only accepts a string.  Improved error handling and  
							
							... 
							
							
							
							docs thanks to suggestions from flub, pelme, schmir, ronny. 
							
						 
						
							2013-08-07 16:49:29 +02:00  
				
					
						
							
							
								 
						
							
								407283ef81 
								
							 
						 
						
							
							
								
								a new monkeypatch.replace(target, value) call which derives the  
							
							... 
							
							
							
							monkeypatch location from target (can be class/module/function or
string which is taken as importable python path)
examples:
    monkeypatch.replace(os.path.abspath, lambda x: "")
    monkeypatch.replace("requests.get", ...) 
							
						 
						
							2013-08-07 15:35:27 +02:00  
				
					
						
							
							
								 
						
							
								719e89fc1a 
								
							 
						 
						
							
							
								
								argcomplete: FastFileCompleter that doesn't call bash in subprocess, strip prefix dir  
							
							... 
							
							
							
							```
timeit result for 10000 iterations of expanding '/d' (lowered the count in the code afterwards)
#                      2.7.5     3.3.2
# FilesCompleter       75.1109   69.2116
# FastFilesCompleter    0.7383    1.0760
```
- does not display prefix dir (like bash, not like compgen), py.test /usr/<TAB> does not show /usr/bin/ but bin/ 
							
						 
						
							2013-08-06 15:33:27 +02:00  
				
					
						
							
							
								 
						
							
								7d86827b5e 
								
							 
						 
						
							
							
								
								ref  #322  cleanup all teardown calling to only happen when setup succeeded.  
							
							... 
							
							
							
							don't use autouse fixtures for now because it would cause a proliferation
and overhead for the execution of every test.  Rather introduce a
node.addfinalizer(fin) to attach a finalizer to the respective node
and call it from node.setup() functions if the setup phase succeeded
(i.e. there is no setup function or it finished successfully) 
							
						 
						
							2013-08-02 09:52:40 +02:00  
				
					
						
							
							
								 
						
							
								7fc0d45a4c 
								
							 
						 
						
							
							
								
								refs  #322 : setUpClass and tearDownClass as autouse fixture and finalizer  
							
							
							
						 
						
							2013-08-01 23:48:40 +02:00  
				
					
						
							
							
								 
						
							
								3b85a56db2 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2013-08-01 22:55:16 +02:00  
				
					
						
							
							
								 
						
							
								743711cd1f 
								
							 
						 
						
							
							
								
								fix issue317: assertion rewriter support for the is_package method  
							
							
							
						 
						
							2013-08-01 22:11:18 +02:00  
				
					
						
							
							
								 
						
							
								2cdb54225c 
								
							 
						 
						
							
							
								
								Fix issue 336: autouse fixtures in plugins work again  
							
							... 
							
							
							
							When an autouse fixture in a plugin was encountered None was stored as nodeid
where it used to be ''.  This broke the lookup of autouse fixtures later on.
This also adds another test for the normal fixture ordering which was slightly
wrong: a fixture without location was always added at the front of the fixture
list rather then at the end of the fixtures without location but before the
fixtures with location. 
							
						 
						
							2013-08-01 18:58:28 +01:00  
				
					
						
							
							
								 
						
							
								8f24e10571 
								
							 
						 
						
							
							
								
								add changelog entry for anthon's hynek-fication of options,  
							
							... 
							
							
							
							and change the docs and tests to use the new style. 
							
						 
						
							2013-08-01 17:32:19 +02:00  
				
					
						
							
							
								 
						
							
								e96da76c3b 
								
							 
						 
						
							
							
								
								changes to addoption() for hyphenated long-options  
							
							... 
							
							
							
							--HG--
branch : opt-drop-non-hyphened-long-options 
							
						 
						
							2013-08-01 16:49:26 +02:00  
				
					
						
							
							
								 
						
							
								e24b56af6c 
								
							 
						 
						
							
							
								
								removed two superfluous parser arguments  
							
							... 
							
							
							
							--HG--
branch : opt-drop-non-hyphened-long-options 
							
						 
						
							2013-08-01 16:27:06 +02:00  
				
					
						
							
							
								 
						
							
								007a77c2ba 
								
							 
						 
						
							
							
								
								drop help for long options if longer versions with hyphens are available  
							
							... 
							
							
							
							--HG--
branch : opt-drop-non-hyphened-long-options 
							
						 
						
							2013-08-01 16:21:33 +02:00  
				
					
						
							
							
								 
						
							
								9ccd52d538 
								
							 
						 
						
							
							
								
								fix issue305 - ignore any problems in writing a pyc file, but print out a trace.  
							
							
							
						 
						
							2013-08-01 15:43:42 +02:00  
				
					
						
							
							
								 
						
							
								cbbbfcd101 
								
							 
						 
						
							
							
								
								fix collection imports for python2.5  
							
							
							
						 
						
							2013-08-01 15:38:03 +02:00  
				
					
						
							
							
								 
						
							
								72a48d69cd 
								
							 
						 
						
							
							
								
								refs  #279 : sequence assertions can also deal with (Mutable)Sequence instances  
							
							
							
						 
						
							2013-08-01 14:48:34 +02:00  
				
					
						
							
							
								 
						
							
								b90d82c17f 
								
							 
						 
						
							
							
								
								fix some py33 issues introduced with rev 2985  
							
							... 
							
							
							
							--HG--
branch : argcomplete 
							
						 
						
							2013-08-01 14:24:25 +02:00  
				
					
						
							
							
								 
						
							
								ef2ddb6f16 
								
							 
						 
						
							
							
								
								monkeypatch for os.environment changes  
							
							... 
							
							
							
							--HG--
branch : argcomplete 
							
						 
						
							2013-07-31 21:33:13 +02:00  
				
					
						
							
							
								 
						
							
								e3a2e1bbf8 
								
							 
						 
						
							
							
								
								fix for tests running subprocesses of py.test after test_argcomplete  
							
							... 
							
							
							
							(which all still ran with argcompletion enabled) -> fail
--HG--
branch : argcomplete 
							
						 
						
							2013-07-31 16:03:53 +02:00  
				
					
						
							
							
								 
						
							
								6817a56270 
								
							 
						 
						
							
							
								
								minor adjustment, added test for positional argument completion  
							
							... 
							
							
							
							--HG--
branch : argcomplete 
							
						 
						
							2013-07-30 12:33:38 +02:00  
				
					
						
							
							
								 
						
							
								87860600fb 
								
							 
						 
						
							
							
								
								Fixes for argcomplete  
							
							... 
							
							
							
							- separate out most argcomplete related stuff in new file _argcomplete.py
  (could probably be in the py library)
- allow positional arguments to be interspaced with optional arguments
  ( + test in test_parseopt.py )
- removed double argument in tox.ini
- add documentation on installing argcomplete (>=0.5.7 as needed for
  Python 3), might need improving/incorporation in index.
This does not work on 2.5 yet. I have patches for argcomplete
(with/print()/"".format) but I am not sure they will be accepted.
Agreed with hpk not to push for that.
Removing argcomplete and leaving completion code active now works by early
exit, so <TAB> no longer re-runs the programs without parameters
(which took long for py.test)
test calls bash with a script that redirects filedescriptor 8 (as used by
argcomplete), so the result can be tested.
--HG--
branch : argcomplete 
							
						 
						
							2013-07-30 11:26:15 +02:00  
				
					
						
							
							
								 
						
							
								377f63085a 
								
							 
						 
						
							
							
								
								be more liberal with respect to lsof checks because jenkins keeps some files open  
							
							
							
						 
						
							2013-07-29 15:39:24 +02:00  
				
					
						
							
							
								 
						
							
								2a7c79dbf5 
								
							 
						 
						
							
							
								
								make genscript provide information as to compatibility  
							
							... 
							
							
							
							(now that argparse is a dependency on python2.6) 
							
						 
						
							2013-07-26 08:59:31 +02:00  
				
					
						
							
							
								 
						
							
								15ec5a898c 
								
							 
						 
						
							
							
								
								moving from optparse to argparse. Major difficulty is  
							
							... 
							
							
							
							that argparse does not have Option objects -> added class Argument
Needed explicit call of MyOptionParser.format_epilog as argparse
does not have that. The parse_arg epilog argument wraps the text,
which is not the same (could be handled with a special formatter).
- parser.parse() now returns single argument (with positional args in
  .file_or_dir)
- "file_or_dir" made a class variable Config._file_or_dir and used in help and tests
- added code for argcomplete (because of which this all started!)
addoption:
- if option type is a string ('int' or 'string', this converted to
  int resp. str
- if option type is 'count' this is changed to the type of choices[0]
testing:
- added tests for Argument
- test_mark.test_keyword_extra split as ['-k', '-mykeyword'] generates argparse
  error test split in two and one marked as fail
- testing hints, multiline and more strickt (for if someone moves format_epilog
  to epilog argument of parse_args without Formatter)
- test for destination derived from long option with internal dash
- renamed second test_parseopt.test_parse() to test_parse2 as it was
  not tested at all (the first was tested.)
--HG--
branch : argparse 
							
						 
						
							2013-07-25 15:33:43 +02:00  
				
					
						
							
							
								 
						
							
								1280add047 
								
							 
						 
						
							
							
								
								SO-17664702: call fixture finalizers even if the fixture function  
							
							... 
							
							
							
							partially failed (finalizers would not always be called before) 
							
						 
						
							2013-07-17 10:29:11 +02:00  
				
					
						
							
							
								 
						
							
								60a53c75a6 
								
							 
						 
						
							
							
								
								some python2.5/3.3 fixes of Brianna's parametrize improvements  
							
							
							
						 
						
							2013-07-16 15:43:20 +02:00  
				
					
						
							
							
								 
						
							
								af7db5195b 
								
							 
						 
						
							
							
								
								Merged in pfctdayelise/pytest (pull request  #38 )  
							
							... 
							
							
							
							A couple of improvements to parametrize 
							
						 
						
							2013-07-16 15:30:48 +02:00  
				
					
						
							
							
								 
						
							
								87eae6213e 
								
							 
						 
						
							
							
								
								fixes for py25 in test_skipping  
							
							
							
						 
						
							2013-07-11 11:15:31 +02:00  
				
					
						
							
							
								 
						
							
								13ddce2381 
								
							 
						 
						
							
							
								
								fix issue320 - fix class scope for fixtures when mixed with  
							
							... 
							
							
							
							module-level functions.  Thanks Anatloy Bubenkoff. 
							
						 
						
							2013-07-08 15:54:38 +02:00  
				
					
						
							
							
								 
						
							
								589138ea71 
								
							 
						 
						
							
							
								
								re  #320  fallback to test scope if the class-scoped fixture is used in non-class-based test function  
							
							... 
							
							
							
							--HG--
branch : 320-class-scoped-fixture-caching-is-broken-if 
							
						 
						
							2013-07-06 21:30:24 +02:00  
				
					
						
							
							
								 
						
							
								f7a9beaefb 
								
							 
						 
						
							
							
								
								Merged in bubenkoff/pytest/329-skipif-requires-expression-as-a-string (pull request  #43 )  
							
							... 
							
							
							
							re #329  add test for skipif failure when you pass boolean without the reason. add emphasize to the docs. 
							
						 
						
							2013-07-06 20:13:27 +02:00  
				
					
						
							
							
								 
						
							
								214793f697 
								
							 
						 
						
							
							
								
								re  #329  add test for skipif failure when you pass boolean without the reason. add emphasize to the docs.  
							
							... 
							
							
							
							--HG--
branch : 329-skipif-requires-expression-as-a-string 
							
						 
						
							2013-07-06 18:54:24 +02:00  
				
					
						
							
							
								 
						
							
								e6a063ee47 
								
							 
						 
						
							
							
								
								Solve fixture ordering when loading plugins from conftest  
							
							... 
							
							
							
							Conftests are plugins with a location attached to them while other
plugins do not have a location.  When ordering fixturedefs those from
plugins without a location need to be listed first. 
							
						 
						
							2013-07-06 17:56:54 +02:00  
				
					
						
							
							
								 
						
							
								ffa1bf726d 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2013-07-06 15:54:33 +02:00  
				
					
						
							
							
								 
						
							
								87df85f12d 
								
							 
						 
						
							
							
								
								improved reporting  
							
							... 
							
							
							
							added intermediate level of quiet reporting:
 * -q now shows short summary (# passed/failed tests + time)
 * the former -q is now -qq 
							
						 
						
							2013-07-06 15:43:59 +02:00  
				
					
						
							
							
								 
						
							
								ea7a997afc 
								
							 
						 
						
							
							
								
								remove unnecessary print  
							
							
							
						 
						
							2013-07-06 10:26:14 +02:00  
				
					
						
							
							
								 
						
							
								2c7613c15c 
								
							 
						 
						
							
							
								
								merge with upstream  
							
							
							
						 
						
							2013-07-06 10:06:12 +02:00  
				
					
						
							
							
								 
						
							
								c4c966683c 
								
							 
						 
						
							
							
								
								fix issue323 - parametrize() of many module-scoped params  
							
							
							
						 
						
							2013-06-28 12:57:10 +02:00  
				
					
						
							
							
								 
						
							
								28b2859718 
								
							 
						 
						
							
							
								
								change how the test is called  
							
							
							
						 
						
							2013-06-22 09:42:31 -07:00  
				
					
						
							
							
								 
						
							
								5e77eb23eb 
								
							 
						 
						
							
							
								
								add test_unittest_style_setup_teardown()  
							
							... 
							
							
							
							to test setUpModule() and tearDownModule() 
							
						 
						
							2013-06-22 09:35:10 -07:00  
				
					
						
							
							
								 
						
							
								ac3d8800fd 
								
							 
						 
						
							
							
								
								make sessionfinish hooks execute with the same cwd-context as at  
							
							... 
							
							
							
							session start (helps fix plugin behaviour which write output files
with relative path such as pytest-cov) 
							
						 
						
							2013-06-10 10:09:28 +02:00  
				
					
						
							
							
								 
						
							
								17e1106584 
								
							 
						 
						
							
							
								
								reindent a few of the blockquotes in these tests  
							
							
							
						 
						
							2013-06-07 17:30:10 -04:00  
				
					
						
							
							
								 
						
							
								345b8391c4 
								
							 
						 
						
							
							
								
								A couple of improvements to parametrize  
							
							... 
							
							
							
							- When not specifying ids, let None and bools use their native string form (like str, int, float) rather than obfuscated form used for objects
- When specifying ids, explicitly raise a ValueError if a different number of ids are specified compared to the test cases
- Add tests for both these items. 
							
						 
						
							2013-05-29 12:59:47 +10:00  
				
					
						
							
							
								 
						
							
								b1595d3f61 
								
							 
						 
						
							
							
								
								Adds a test for and  fixes   #112 .  If attempting to write to the __pycache__ directory raises a permission error _write_pyc() should just return False to prevent any further write attempts.  
							
							
							
						 
						
							2013-05-28 18:11:12 -04:00  
				
					
						
							
							
								 
						
							
								c294a417bd 
								
							 
						 
						
							
							
								
								allow to specify parametrize inputs as a comma-separated string  
							
							... 
							
							
							
							add Wouter to changelog and to authors 
							
						 
						
							2013-05-28 10:32:54 +02:00  
				
					
						
							
							
								 
						
							
								655afba17d 
								
							 
						 
						
							
							
								
								Merged in w00t0r/pytest-fixes (pull request  #35 )  
							
							... 
							
							
							
							Fixed issue #306 : Keywords and markers are now matched in a defined way. Also applied some pep8 formatting while fixing. 
							
						 
						
							2013-05-27 21:40:41 +02:00  
				
					
						
							
							
								 
						
							
								212f4b4d64 
								
							 
						 
						
							
							
								
								Issue 306: Used a set for the extra_keywords, and used listchain for parent iteration.  
							
							
							
						 
						
							2013-05-27 18:14:35 +02:00  
				
					
						
							
							
								 
						
							
								72afbbbd71 
								
							 
						 
						
							
							
								
								Added new test to check on matching markers to full test names, which was possible before. Also adjusted check on number of deselected tests.  
							
							
							
						 
						
							2013-05-23 12:21:40 +02:00  
				
					
						
							
							
								 
						
							
								583c736f0c 
								
							 
						 
						
							
							
								
								Added a test to check there is no matching on magic values.  
							
							
							
						 
						
							2013-05-23 09:12:50 +02:00  
				
					
						
							
							
								 
						
							
								8a0a18e9b3 
								
							 
						 
						
							
							
								
								- add Brianna (@pfctdayelise ) to changelog and contributors  
							
							... 
							
							
							
							- fix some broken tests on py32/py33 (related to issue308 merge)
- re-format docstrings
- 
							
						 
						
							2013-05-22 15:24:58 +02:00  
				
					
						
							
							
								 
						
							
								f2175146a9 
								
							 
						 
						
							
							
								
								Merged hpk42/pytest into default  
							
							
							
						 
						
							2013-05-21 11:18:37 +10:00  
				
					
						
							
							
								 
						
							
								fe27f3cc7d 
								
							 
						 
						
							
							
								
								Fixed issue  #306 : Keywords and markers are now matched in a defined way. Also applied some pep8 formatting while fixing.  
							
							
							
						 
						
							2013-05-20 14:37:58 +02:00  
				
					
						
							
							
								 
						
							
								ee65ca10f4 
								
							 
						 
						
							
							
								
								issue  #308  
							
							... 
							
							
							
							address some comments by @hpk42 on 0b9d82e :
- move tests into their own class, rename
- add test showing metafunc.parametrize called in pytest_generate_tests rather than as decorator
- add test and fix single-argname case
- convert two loops into one in parametrize()
also
- renamed 'input' to 'n', since 'input' is a built-in 
							
						 
						
							2013-05-20 12:52:20 +10:00  
				
					
						
							
							
								 
						
							
								242b67de17 
								
							 
						 
						
							
							
								
								zero to many doctests from module instead of one  
							
							
							
						 
						
							2013-05-17 12:18:22 -03:00  
				
					
						
							
							
								 
						
							
								5373a63008 
								
							 
						 
						
							
							
								
								issue  #308  
							
							... 
							
							
							
							first attempt, mark individual parametrize test instances with other marks (like xfail) 
							
						 
						
							2013-05-17 18:46:36 +10:00  
				
					
						
							
							
								 
						
							
								1f1c24fe15 
								
							 
						 
						
							
							
								
								Merged in jaapz/pytest-xml-escape-control-chars (pull request  #32 )  
							
							... 
							
							
							
							Fix junitxml generation when using special characters in parametrized tests. 
							
						 
						
							2013-05-10 08:06:31 +02:00  
				
					
						
							
							
								 
						
							
								7803bca335 
								
							 
						 
						
							
							
								
								Implemented a test for xml control character fail.  
							
							
							
						 
						
							2013-05-09 21:16:57 +02:00  
				
					
						
							
							
								 
						
							
								a113c4c6d3 
								
							 
						 
						
							
							
								
								Merged in maho/pytest (pull request  #31 )  
							
							... 
							
							
							
							#299  
						
							2013-05-09 15:32:29 +02:00  
				
					
						
							
							
								 
						
							
								9e3cd03721 
								
							 
						 
						
							
							
								
								#299  - polishing  
							
							
							
						 
						
							2013-05-08 17:01:20 +02:00  
				
					
						
							
							
								 
						
							
								bbd265184d 
								
							 
						 
						
							
							
								
								support boolean condition expressions in skipif/xfail  
							
							... 
							
							
							
							change documentation to prefer it over string expressions 
							
						 
						
							2013-05-07 18:40:26 +02:00  
				
					
						
							
							
								 
						
							
								56aa9962fc 
								
							 
						 
						
							
							
								
								allow fixture functions to be implemented as context managers:  
							
							... 
							
							
							
							@pytest.fixture
def myfix():
    # setup
    yield 1
    # teardown 
							
						 
						
							2013-05-05 14:48:37 +02:00  
				
					
						
							
							
								 
						
							
								05c4ecf892 
								
							 
						 
						
							
							
								
								fix recursion within import hook and source.decode in particular  
							
							
							
						 
						
							2013-04-30 12:05:58 +02:00  
				
					
						
							
							
								 
						
							
								c5f9958783 
								
							 
						 
						
							
							
								
								never consider a fixture function for test function collection  
							
							
							
						 
						
							2013-04-29 10:31:51 +02:00  
				
					
						
							
							
								 
						
							
								7a90515d49 
								
							 
						 
						
							
							
								
								Treat frozenset as a set  
							
							... 
							
							
							
							Thanks to Brianna Laugher. 
							
						 
						
							2013-04-28 20:59:10 +01:00  
				
					
						
							
							
								 
						
							
								b2cb93e06d 
								
							 
						 
						
							
							
								
								allow re-running of a test item (as exercised by the  
							
							... 
							
							
							
							pytest-rerunfailures plugins) by re-initializing and removing
request/funcargs information in runtestprotocol() - which is a slightly
odd place to add funcarg-related functionality but it allows all
pytest_runtest_setup/teardown hooks to properly see a valid
request/funcarg content on test items. 
							
						 
						
							2013-04-22 10:35:48 +02:00  
				
					
						
							
							
								 
						
							
								c93fbb0e57 
								
							 
						 
						
							
							
								
								Load conftest files in the correct order initially  
							
							... 
							
							
							
							When the conftest.py files are looked for intially they got loaded
starting from the subdir ending at the parent dir(s).  Later on during
collection any conftest.py files are loaded starting from the parent
dir ending at the subdir.  Due to how extending fixtures works the
latter is correct as otherwise the wrong fixture will be available.
So this changes the initial conftest loading to start at the root and
go towards the subdir.
This does also affect the order of other hooks, hence the order of the
reporting being different in testing/test_terminal.py. 
							
						 
						
							2013-04-18 12:24:53 +01:00  
				
					
						
							
							
								 
						
							
								bfe9779b37 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2013-04-16 09:13:58 +02:00  
				
					
						
							
							
								 
						
							
								bb6f3ebd31 
								
							 
						 
						
							
							
								
								slightly improve -k help string  
							
							... 
							
							
							
							cosmetic change to test_nose.py 
							
						 
						
							2013-04-16 09:04:05 +02:00  
				
					
						
							
							
								 
						
							
								1cbd2db621 
								
							 
						 
						
							
							
								
								stdout/stderr now captured by junitxml  
							
							
							
						 
						
							2013-04-16 00:45:14 -04:00  
				
					
						
							
							
								 
						
							
								712898cfe1 
								
							 
						 
						
							
							
								
								- add release announce  
							
							
							
						 
						
							2013-03-28 10:21:03 +01:00  
				
					
						
							
							
								 
						
							
								f31dc7a8b7 
								
							 
						 
						
							
							
								
								Attempt to improve detailed failure reporting  
							
							... 
							
							
							
							* If --verbose is used do not truncate.
* Add a special dict comparison instead of diffing
  pprint output. 
							
						 
						
							2013-03-28 01:39:01 +00:00  
				
					
						
							
							
								 
						
							
								9c9679945e 
								
							 
						 
						
							
							
								
								fix Issue 265 - integrate nose setup/teardown with setupstate  
							
							... 
							
							
							
							as sideeffect teardown is only called if setup doesnt fail 
							
						 
						
							2013-03-25 10:52:02 +01:00  
				
					
						
							
							
								 
						
							
								ba79c1926c 
								
							 
						 
						
							
							
								
								add a test for issue 14 that will xfail on python < 2.7  
							
							
							
						 
						
							2013-03-25 08:53:08 +01:00  
				
					
						
							
							
								 
						
							
								76fb51a4ba 
								
							 
						 
						
							
							
								
								fix issue 271 - dont write junitxml on slave nodes  
							
							
							
						 
						
							2013-03-24 20:43:25 +01:00  
				
					
						
							
							
								 
						
							
								93da606763 
								
							 
						 
						
							
							
								
								fix Issue 274 - dont fail when doctest does not know the example location  
							
							... 
							
							
							
							instead only the last test is shown, this could use some further enhancement 
							
						 
						
							2013-03-24 20:05:29 +01:00  
				
					
						
							
							
								 
						
							
								8f8466ee40 
								
							 
						 
						
							
							
								
								Merged in witsch/pytest/doctest-fixtures (pull request  #25 )  
							
							... 
							
							
							
							fixture support in doctests 
							
						 
						
							2013-03-21 12:33:43 +01:00  
				
					
						
							
							
								 
						
							
								dfcb0e322c 
								
							 
						 
						
							
							
								
								rename `get_fixture` to `getfixture` to better match the current API style  
							
							... 
							
							
							
							--HG--
branch : doctest-fixtures 
							
						 
						
							2013-03-21 12:04:14 +01:00  
				
					
						
							
							
								 
						
							
								da3b42ce46 
								
							 
						 
						
							
							
								
								remove debugging left-overs  
							
							... 
							
							
							
							--HG--
branch : doctest-fixtures 
							
						 
						
							2013-03-21 01:03:59 +01:00  
				
					
						
							
							
								 
						
							
								5a3547dd7e 
								
							 
						 
						
							
							
								
								also provide `get_fixture` helper for module level doctests  
							
							... 
							
							
							
							--HG--
branch : doctest-fixtures 
							
						 
						
							2013-03-20 17:32:48 +01:00  
				
					
						
							
							
								 
						
							
								c4b3a09886 
								
							 
						 
						
							
							
								
								test `get_fixture` helper for doctests  
							
							... 
							
							
							
							--HG--
branch : doctest-fixtures 
							
						 
						
							2013-03-20 17:14:28 +01:00  
				
					
						
							
							
								 
						
							
								37c47155e0 
								
							 
						 
						
							
							
								
								correctly handle nose.SkipTest during collection  
							
							
							
						 
						
							2013-03-14 16:10:33 +01:00  
				
					
						
							
							
								 
						
							
								0cf79b29cd 
								
							 
						 
						
							
							
								
								in the default Python 2 case, manually check the source is ASCII ( fixes   #269 )  
							
							
							
						 
						
							2013-03-08 10:44:41 -05:00  
				
					
						
							
							
								 
						
							
								48e6aa9dc7 
								
							 
						 
						
							
							
								
								Allow MarkEvaluator expressions to be unicode  
							
							... 
							
							
							
							This fixes issue #266 . 
							
						 
						
							2013-02-15 11:47:48 +00:00  
				
					
						
							
							
								 
						
							
								0dd05023b8 
								
							 
						 
						
							
							
								
								fix issue 251 - report a skip instead of ignoring classes with init  
							
							
							
						 
						
							2013-02-15 10:18:00 +01:00  
				
					
						
							
							
								 
						
							
								69ef750091 
								
							 
						 
						
							
							
								
								fix issue134 - print the collect errors that prevent running specified test items  
							
							
							
						 
						
							2013-02-14 12:21:42 +01:00  
				
					
						
							
							
								 
						
							
								857c99d354 
								
							 
						 
						
							
							
								
								fix py32 incompatible syntax  
							
							
							
						 
						
							2013-02-14 12:17:23 +01:00  
				
					
						
							
							
								 
						
							
								d0e18ac63f 
								
							 
						 
						
							
							
								
								issue250 unicode/str mixes in parametrization names and values now works  
							
							
							
						 
						
							2013-02-12 23:30:34 +01:00  
				
					
						
							
							
								 
						
							
								296f752cca 
								
							 
						 
						
							
							
								
								fix --genscript option to generate standalone scripts that also  
							
							... 
							
							
							
							work with python3.3 (importer ordering) 
							
						 
						
							2013-02-12 22:59:29 +01:00  
				
					
						
							
							
								 
						
							
								456731ed0f 
								
							 
						 
						
							
							
								
								fix issue257 assertion-triggered compilation of source ending in a  
							
							... 
							
							
							
							comment line doesn't blow up in python2.5 (fixed through py>=1.4.13.dev6) 
							
						 
						
							2013-02-12 22:43:33 +01:00  
				
					
						
							
							
								 
						
							
								c8653b4c02 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2013-02-12 20:45:01 +01:00  
				
					
						
							
							
								 
						
							
								162c3689c6 
								
							 
						 
						
							
							
								
								fix issue 260 - don't use nose specials on plain unittest cases  
							
							
							
						 
						
							2013-02-07 17:53:13 +01:00  
				
					
						
							
							
								 
						
							
								570ad36eaf 
								
							 
						 
						
							
							
								
								fix parametrized testid to provide for uniqueness  
							
							
							
						 
						
							2013-02-05 17:41:45 +01: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  
				
					
						
							
							
								 
						
							
								65edf87ea6 
								
							 
						 
						
							
							
								
								display the repr of some global names ( fixes   #171 )  
							
							
							
						 
						
							2013-01-10 11:59:08 -06:00  
				
					
						
							
							
								 
						
							
								5f99511ab7 
								
							 
						 
						
							
							
								
								fix test after ronny's pytest-debug improvements  
							
							
							
						 
						
							2012-12-04 20:31:37 +01:00  
				
					
						
							
							
								 
						
							
								22dd5e29e2 
								
							 
						 
						
							
							
								
								when informations gets truncated, mention use of "-vv" to see it.  
							
							
							
						 
						
							2012-11-30 12:18:12 +01:00  
				
					
						
							
							
								 
						
							
								725e63db66 
								
							 
						 
						
							
							
								
								improve PYTEST_DEBUG tracing output  
							
							... 
							
							
							
							by putingextra data on a new lines
with additional indent 
							
						 
						
							2012-11-29 10:04:39 +01:00  
				
					
						
							
							
								 
						
							
								1d7c71884e 
								
							 
						 
						
							
							
								
								Remove check for "_" prefix on python functions (use python_functions)  
							
							... 
							
							
							
							(See IRC hpk 2012-11-27 14:56: after the python_functions customization
 was introduced, it makes sense to disregard the preliminary "_" check) 
							
						 
						
							2012-11-27 16:58:08 +00:00  
				
					
						
							
							
								 
						
							
								68786a6434 
								
							 
						 
						
							
							
								
								fix bug where using capsys with pytest.set_trace() in a test  
							
							... 
							
							
							
							function would break when looking at capsys.readouterr() 
							
						 
						
							2012-11-21 20:43:31 +01:00  
				
					
						
							
							
								 
						
							
								a9adfa9114 
								
							 
						 
						
							
							
								
								don't run long-args test on windows because it can't work  
							
							
							
						 
						
							2012-11-20 11:52:06 +01:00  
				
					
						
							
							
								 
						
							
								f263f54889 
								
							 
						 
						
							
							
								
								make yielded tests participate in the autouse protocol  
							
							
							
						 
						
							2012-11-19 22:17:59 +01:00  
				
					
						
							
							
								 
						
							
								d66ff7e63e 
								
							 
						 
						
							
							
								
								fix autouse invocation (off-by-one error), relates to issue in moinmoin test suite  
							
							
							
						 
						
							2012-11-19 22:17:55 +01:00  
				
					
						
							
							
								 
						
							
								f3e03fc298 
								
							 
						 
						
							
							
								
								modernize tmpdir fixture (use request.node in tmpdir fixture, use @pytest.fixture)  
							
							
							
						 
						
							2012-11-19 14:07:14 +01:00  
				
					
						
							
							
								 
						
							
								b940ed11a0 
								
							 
						 
						
							
							
								
								fix issue226 - LIFO ordering for fixture-added teardowns  
							
							
							
						 
						
							2012-11-16 10:03:51 +01:00  
				
					
						
							
							
								 
						
							
								c64c567b75 
								
							 
						 
						
							
							
								
								fix issue224 - invocations with >256 char arguments now work  
							
							
							
						 
						
							2012-11-12 10:15:43 +01:00  
				
					
						
							
							
								 
						
							
								4ac465acfb 
								
							 
						 
						
							
							
								
								allow to pass expressions to "-k" option, just like with the "-m" option  
							
							
							
						 
						
							2012-11-09 12:29:33 +01:00  
				
					
						
							
							
								 
						
							
								a4909a0ae4 
								
							 
						 
						
							
							
								
								allow to dynamically define markers (e.g. during pytest_collection_modifyitems)  
							
							
							
						 
						
							2012-11-09 12:07:41 +01:00  
				
					
						
							
							
								 
						
							
								33cd414420 
								
							 
						 
						
							
							
								
								fix issue127 improve pytest_addoption docs, add new config.getoption(name) method for consistency.  
							
							
							
						 
						
							2012-11-06 14:09:12 +01:00  
				
					
						
							
							
								 
						
							
								dba2a8bc64 
								
							 
						 
						
							
							
								
								fix issue217 - to support @mock.patch with pytest funcarg-fixtures, also split out python integration tests into python/integration.py and fix nose/mark tests  
							
							
							
						 
						
							2012-11-06 11:04:11 +01:00  
				
					
						
							
							
								 
						
							
								b3c8991b22 
								
							 
						 
						
							
							
								
								add a xfailing test for issue 199  
							
							
							
						 
						
							2012-11-05 21:52:12 +01:00  
				
					
						
							
							
								 
						
							
								df444906d6 
								
							 
						 
						
							
							
								
								merge pull request  
							
							
							
						 
						
							2012-11-05 21:18:50 +01:00  
				
					
						
							
							
								 
						
							
								04754f6748 
								
							 
						 
						
							
							
								
								test call_optional not calling non-callable functions  
							
							
							
						 
						
							2012-11-05 21:17:58 +01:00  
				
					
						
							
							
								 
						
							
								7e831b66ec 
								
							 
						 
						
							
							
								
								fix issue148 - recognize @unittest.skip on classes, avoid setup/teardown  
							
							
							
						 
						
							2012-11-03 20:54:48 +01:00  
				
					
						
							
							
								 
						
							
								ba9b27fcd3 
								
							 
						 
						
							
							
								
								fix issue215 - refactor test_python.py into multiple files:  
							
							... 
							
							
							
							- python/collect.py cotaining the core collection nodes
- python/fixture.py containing funcargs/fixture code
- python/metafunc.py generate_tests and metafunc usage
- python/raises.py the pytest.raises implementation 
							
						 
						
							2012-11-02 16:04:57 +01:00  
				
					
						
							
							
								 
						
							
								fb173a97a8 
								
							 
						 
						
							
							
								
								extended - fix issue214 - ignore attribute-access errors with objects in test modules that can blow up (for example flask's request object)  
							
							
							
						 
						
							2012-10-31 17:00:55 +01:00  
				
					
						
							
							
								 
						
							
								e7e5ee805f 
								
							 
						 
						
							
							
								
								fix issue 214 - gracefully handle proxy objects that look like fixtures  
							
							
							
						 
						
							2012-10-31 17:00:43 +01:00  
				
					
						
							
							
								 
						
							
								fce13c3e46 
								
							 
						 
						
							
							
								
								re-allow to parametrize with values that don't support __eq__ (closes issue213)  
							
							
							
						 
						
							2012-10-28 14:52:43 +01:00  
				
					
						
							
							
								 
						
							
								2637326782 
								
							 
						 
						
							
							
								
								improve support for trial a bit more: don't run trial's empty TestCase.runTest()  method  
							
							
							
						 
						
							2012-10-22 19:22:01 +02:00  
				
					
						
							
							
								 
						
							
								aa79c0a4b9 
								
							 
						 
						
							
							
								
								fix unittest emulation: TestCase.runTest is now ignored  
							
							... 
							
							
							
							if there are test* methods. 
							
						 
						
							2012-10-22 16:25:09 +02:00  
				
					
						
							
							
								 
						
							
								05c86aeb28 
								
							 
						 
						
							
							
								
								make sure ihook uses a node's fspath - important for hooks  
							
							... 
							
							
							
							e.g. during a Module's collect to pick up conftest.py files
residing in the same dir 
							
						 
						
							2012-10-22 16:12:22 +02:00  
				
					
						
							
							
								 
						
							
								f28f073c7c 
								
							 
						 
						
							
							
								
								fix teardown-ordering for parametrized setups/teardowns  
							
							
							
						 
						
							2012-10-22 12:16:54 +02:00  
				
					
						
							
							
								 
						
							
								036557ac18 
								
							 
						 
						
							
							
								
								fix issue206 - unset PYTHONDONTWRITEBYTECODE in assertrewrite test  
							
							
							
						 
						
							2012-10-22 11:14:18 +02:00  
				
					
						
							
							
								 
						
							
								1b61fbc8ed 
								
							 
						 
						
							
							
								
								- fix test_nose.py by being more tolerant about the error message  
							
							... 
							
							
							
							(differs between py32 and py33, thanks Arfrever)
- use pypi again now that py is released 
							
						 
						
							2012-10-22 10:55:59 +02:00  
				
					
						
							
							
								 
						
							
								97f03edcd6 
								
							 
						 
						
							
							
								
								fix issue205 - nested conftest to pickup pycollect_makemodule - relates to the two  
							
							... 
							
							
							
							reports of a failing doc/en/example/py2py3. 
							
						 
						
							2012-10-22 10:17:50 +02:00  
				
					
						
							
							
								 
						
							
								d4d213f83d 
								
							 
						 
						
							
							
								
								some more fixes  
							
							
							
						 
						
							2012-10-20 14:10:12 +02:00  
				
					
						
							
							
								 
						
							
								9ed127b5da 
								
							 
						 
						
							
							
								
								fix issue203 - fixture functions with a scope=function should have a "self" that points to the actual instance with which the test functions run.  
							
							
							
						 
						
							2012-10-20 09:59:20 +02:00  
				
					
						
							
							
								 
						
							
								dca5fa2241 
								
							 
						 
						
							
							
								
								fixing links for 2.3 release, and fixing a windows32 failure on py3  
							
							
							
						 
						
							2012-10-19 10:53:28 +02:00  
				
					
						
							
							
								 
						
							
								586befb945 
								
							 
						 
						
							
							
								
								make usefixtures appear in py.test --markers output  
							
							
							
						 
						
							2012-10-19 10:17:13 +02:00  
				
					
						
							
							
								 
						
							
								b0b6695538 
								
							 
						 
						
							
							
								
								improve automatic id generation for parametrized tests  
							
							
							
						 
						
							2012-10-19 10:07:13 +02:00  
				
					
						
							
							
								 
						
							
								64544bee1a 
								
							 
						 
						
							
							
								
								fix trial tests  
							
							
							
						 
						
							2012-10-18 15:09:20 +02:00  
				
					
						
							
							
								 
						
							
								7c8755cc89 
								
							 
						 
						
							
							
								
								refine docs, fix a marker/keywords bit, and add a test that request.keywords points to node.keywords.  
							
							
							
						 
						
							2012-10-18 15:06:55 +02:00  
				
					
						
							
							
								 
						
							
								7d747a1cde 
								
							 
						 
						
							
							
								
								remove .markers attribute which was added in development and after 2.2.4  
							
							... 
							
							
							
							so never released.  Rather extend keywords to also exist on nodes. Assigning
to node.keywords will make the value appear on all subchildren's
keywords. 
							
						 
						
							2012-10-18 13:52:32 +02:00  
				
					
						
							
							
								 
						
							
								67de2c53ac 
								
							 
						 
						
							
							
								
								fix issue198 - detection of fixtures from conftest.py files in deeper nested dir structures with certain invocations  
							
							
							
						 
						
							2012-10-17 13:42:40 +02:00  
				
					
						
							
							
								 
						
							
								26ab80c4cd 
								
							 
						 
						
							
							
								
								fix and test --fixtures location information  
							
							
							
						 
						
							2012-10-17 13:12:33 +02:00  
				
					
						
							
							
								 
						
							
								20849a44f5 
								
							 
						 
						
							
							
								
								improve --fixtures output with per-plugin grouping  and hiding underscore names in non-verbose mode, re-introduce --funcargs for compatibiliy  
							
							
							
						 
						
							2012-10-17 12:57:05 +02:00  
				
					
						
							
							
								 
						
							
								98513b995a 
								
							 
						 
						
							
							
								
								simplify/integrate fixturemapper into FixtureManager  
							
							... 
							
							
							
							also fix jstests test failures 
							
						 
						
							2012-10-17 11:20:45 +02:00  
				
					
						
							
							
								 
						
							
								dc4e205876 
								
							 
						 
						
							
							
								
								typographic fixes, little simplification  
							
							
							
						 
						
							2012-10-17 09:21:04 +02:00  
				
					
						
							
							
								 
						
							
								cc2337af3a 
								
							 
						 
						
							
							
								
								refine parsefactories interface, fix two_classes test originally reported by Alex Okrushko, also add a few more tests to make sure autouse-fixtures are properly distinguished  
							
							
							
						 
						
							2012-10-16 16:13:12 +02:00  
				
					
						
							
							
								 
						
							
								37965657d0 
								
							 
						 
						
							
							
								
								make factorydeflist immutable by using an index  
							
							
							
						 
						
							2012-10-16 13:59:12 +02:00  
				
					
						
							
							
								 
						
							
								2f3bbdafda 
								
							 
						 
						
							
							
								
								use fixturemapper/fixtureinfo from Function objects  
							
							
							
						 
						
							2012-10-16 13:48:00 +02:00  
				
					
						
							
							
								 
						
							
								021c087701 
								
							 
						 
						
							
							
								
								implement fixture information stored on the parentnode of functions  
							
							... 
							
							
							
							to be reused by metafunc mechanics and Function setup 
							
						 
						
							2012-10-16 13:47:59 +02:00  
				
					
						
							
							
								 
						
							
								4541456a96 
								
							 
						 
						
							
							
								
								add plan for better fixture implementation, an xfailing test  
							
							... 
							
							
							
							and a slight refactoring of Metafunc tests/creation 
							
						 
						
							2012-10-16 13:47:59 +02:00  
				
					
						
							
							
								 
						
							
								f5d796b093 
								
							 
						 
						
							
							
								
								improve docs further, refine unittest docs, rename ``autoactive`` to ``autouse``  
							
							... 
							
							
							
							to better match ``@pytest.mark.usefixtures`` naming. 
							
						 
						
							2012-10-12 14:52:36 +02:00  
				
					
						
							
							
								 
						
							
								6eec2f5893 
								
							 
						 
						
							
							
								
								make tmpdir fixture always return a realpath()ed tmpdir and make a note  
							
							... 
							
							
							
							about it in the changed test.  Currently, i don't see a reason why this
is a bad idea (tm) 
							
						 
						
							2012-10-11 13:05:16 +02:00  
				
					
						
							
							
								 
						
							
								0594265adc 
								
							 
						 
						
							
							
								
								fix output of --fixtures for @pytest.fixture defined functions.  
							
							
							
						 
						
							2012-10-09 16:49:04 +02:00  
				
					
						
							
							
								 
						
							
								39b8a19cf7 
								
							 
						 
						
							
							
								
								Fix test for windows  
							
							
							
						 
						
							2012-10-08 13:42:31 +02:00  
				
					
						
							
							
								 
						
							
								df643f65f0 
								
							 
						 
						
							
							
								
								remove support for @pytest.fixture on classes, to be reserved for future use:  
							
							... 
							
							
							
							Fixture-classes could offer setup/teardown/addoption/configure methods
and provide higher level support.  Preliminary allowing it to work on classes
may make introducing it harder. 
							
						 
						
							2012-10-08 11:22:31 +02:00  
				
					
						
							
							
								 
						
							
								d630d02c5b 
								
							 
						 
						
							
							
								
								remove pytest.setup usage  
							
							
							
						 
						
							2012-10-08 08:34:21 +02:00  
				
					
						
							
							
								 
						
							
								cda84fb566 
								
							 
						 
						
							
							
								
								- allow to use fixtures directly, i.e. without ()  
							
							... 
							
							
							
							- also allow scope to be determined by a dynamic function 
							
						 
						
							2012-10-06 21:03:55 +02:00  
				
					
						
							
							
								 
						
							
								d3893dd5d1 
								
							 
						 
						
							
							
								
								allow metafunc.parametrize(scope=...) calls to override the scope of a Fixture function definition.  This is useful for cases where you want to dynamically  
							
							... 
							
							
							
							set scope and parametrization for a fixture instead of statically declaring
it on the fixture function. 
							
						 
						
							2012-10-06 21:01:13 +02:00  
				
					
						
							
							
								 
						
							
								55a8bfd174 
								
							 
						 
						
							
							
								
								fix issue197 - in case a function is parametrized with zero arguments,  
							
							... 
							
							
							
							skip it during setup 
							
						 
						
							2012-10-06 11:34:06 +02:00  
				
					
						
							
							
								 
						
							
								d8c365ef2c 
								
							 
						 
						
							
							
								
								implement pytest.mark.usefixtures and ini-file usefixtures setting  
							
							... 
							
							
							
							and also refine fixture docs a bit - fixtures.txt should now mostly
reflect the current state of the implementation 
							
						 
						
							2012-10-05 19:20:40 +02:00  
				
					
						
							
							
								 
						
							
								d1a3f5c3a6 
								
							 
						 
						
							
							
								
								make the default non-error pass simpler and faster, refine error reporting by presenting "fixture" tracebacks  
							
							
							
						 
						
							2012-10-05 14:24:45 +02:00  
				
					
						
							
							
								 
						
							
								bb07ba7807 
								
							 
						 
						
							
							
								
								rename a number of internal and externally visible variables to use the fixture name  
							
							... 
							
							
							
							rather than funcargs.  Introduce .funcargnames compatibility attribute for backward compat. 
							
						 
						
							2012-10-05 14:24:44 +02:00  
				
					
						
							
							
								 
						
							
								8282efbb40 
								
							 
						 
						
							
							
								
								internally unify setup and fixture code, making setup a shortcut to fixture(autoactive=True)  
							
							
							
						 
						
							2012-10-05 10:21:35 +02:00  
				
					
						
							
							
								 
						
							
								9251e747af 
								
							 
						 
						
							
							
								
								rename pytest.factory usages into pytest.fixture ones  
							
							
							
						 
						
							2012-10-05 10:21:35 +02:00  
				
					
						
							
							
								 
						
							
								3049af618c 
								
							 
						 
						
							
							
								
								avoid pyc file issues by parametrizing the test instead of rewriting conftest.py files  
							
							
							
						 
						
							2012-10-04 11:51:14 +02:00  
				
					
						
							
							
								 
						
							
								5173647b4d 
								
							 
						 
						
							
							
								
								fixes to against python3.3  
							
							
							
						 
						
							2012-10-01 10:14:54 +02:00  
				
					
						
							
							
								 
						
							
								57a832812b 
								
							 
						 
						
							
							
								
								remove unneccessary internal __request__ funcarg.  
							
							
							
						 
						
							2012-10-01 09:23:39 +02:00  
				
					
						
							
							
								 
						
							
								b9767fd74c 
								
							 
						 
						
							
							
								
								remove print, pass python32  
							
							
							
						 
						
							2012-09-27 13:27:22 +02:00  
				
					
						
							
							
								 
						
							
								dbe66f468a 
								
							 
						 
						
							
							
								
								ensure proper calling of finalizers in case of parametrization on classes  
							
							
							
						 
						
							2012-09-26 12:24:04 +02:00  
				
					
						
							
							
								 
						
							
								35cbb5791d 
								
							 
						 
						
							
							
								
								fixes issue 156: monkeypatch class level descriptors  
							
							
							
						 
						
							2012-09-25 18:15:13 +02:00  
				
					
						
							
							
								 
						
							
								a1c3d60747 
								
							 
						 
						
							
							
								
								add an xfail-ed test for a potential future "enabled" parameter to setup functions  
							
							
							
						 
						
							2012-09-25 15:04:30 +02:00  
				
					
						
							
							
								 
						
							
								cd1ead4f7b 
								
							 
						 
						
							
							
								
								- make request.funcargnames carry the closure of all used funcargs  
							
							... 
							
							
							
							- make metafunc.funcargnames carry the closure of used funcargs 
							
						 
						
							2012-09-24 17:04:34 +02:00  
				
					
						
							
							
								 
						
							
								7768972ec5 
								
							 
						 
						
							
							
								
								make sure setups are called ahead of the funcarg factories of the test function  
							
							
							
						 
						
							2012-09-24 10:36:22 +02:00  
				
					
						
							
							
								 
						
							
								754fab9b55 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2012-09-22 20:26:13 +02:00  
				
					
						
							
							
								 
						
							
								253a87b2dc 
								
							 
						 
						
							
							
								
								fix issue 191 - add support for runTest method of unittest.TestCase subclasses  
							
							
							
						 
						
							2012-09-22 18:24:53 +02:00  
				
					
						
							
							
								 
						
							
								81082ed3d3 
								
							 
						 
						
							
							
								
								extend --help to tell about --markers and --funcargs  
							
							
							
						 
						
							2012-09-22 11:44:56 +02:00  
				
					
						
							
							
								 
						
							
								465cfff6f9 
								
							 
						 
						
							
							
								
								don't call nose' setup methods if they are marked with pytest.setup  
							
							
							
						 
						
							2012-09-22 00:23:36 +02:00  
				
					
						
							
							
								 
						
							
								738f14a48a 
								
							 
						 
						
							
							
								
								improve the parametrization scenario example to sort by id, rather than by file-order, see also:  http://stackoverflow.com/questions/12521924/pytest-running-scenarios-in-the-correct-order-in-the-class  
							
							
							
						 
						
							2012-09-21 09:39:54 +02:00  
				
					
						
							
							
								 
						
							
								6cb3281ddd 
								
							 
						 
						
							
							
								
								allow factory/setup-markers on classes, using their respective __init__ methods which can use the funcarg mechanism  
							
							
							
						 
						
							2012-09-18 14:00:47 +02:00  
				
					
						
							
							
								 
						
							
								a7c6688bd6 
								
							 
						 
						
							
							
								
								implement full @pytest.setup function unittest.TestCase interaction  
							
							
							
						 
						
							2012-09-18 10:54:12 +02:00  
				
					
						
							
							
								 
						
							
								631d311e89 
								
							 
						 
						
							
							
								
								- add request.node which maps to the collection node as specified by the scope.  
							
							... 
							
							
							
							- remove request.markers which is now available via request.node.markers 
							
						 
						
							2012-09-17 20:43:37 +02:00  
				
					
						
							
							
								 
						
							
								a94bb0a8bb 
								
							 
						 
						
							
							
								
								introduce a new "markers" attribute to nodes and the request object. It is  
							
							... 
							
							
							
							a dynamic class making holdin 
							
						 
						
							2012-09-17 17:32:23 +02:00  
				
					
						
							
							
								 
						
							
								646c2c6001 
								
							 
						 
						
							
							
								
								drops special testcontext object in favour of "old" request object, simplifying communication and code for the 2.2-2.3 transition. also modify docs and examples.  
							
							
							
						 
						
							2012-09-17 16:36:10 +02: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  
				
					
						
							
							
								 
						
							
								bfaf8e50b6 
								
							 
						 
						
							
							
								
								fix issue 182: testdir.inprocess_run now considers passed plugins  
							
							
							
						 
						
							2012-09-03 10:12:30 +02:00  
				
					
						
							
							
								 
						
							
								848c749d1a 
								
							 
						 
						
							
							
								
								adapt the junit xml escaping test to my escaping changes  
							
							
							
						 
						
							2012-09-03 09:54:02 +02:00  
				
					
						
							
							
								 
						
							
								41ad7dbae1 
								
							 
						 
						
							
							
								
								fix issue185 monkeypatching time.time does not cause pytest to fail  
							
							
							
						 
						
							2012-09-01 09:58:10 +02:00  
				
					
						
							
							
								 
						
							
								a6060dfb6d 
								
							 
						 
						
							
							
								
								use py3 compatible print syntax  
							
							
							
						 
						
							2012-08-28 16:37:43 -04:00  
				
					
						
							
							
								 
						
							
								7f36649763 
								
							 
						 
						
							
							
								
								remove usage of exception module, which is gone in py3.3  
							
							
							
						 
						
							2012-08-28 16:35:06 -04:00  
				
					
						
							
							
								 
						
							
								e876ad9abd 
								
							 
						 
						
							
							
								
								fix issue 179 - propperly show the dependency chain of factories on setup failure  
							
							
							
						 
						
							2012-08-22 21:43:42 +02:00  
				
					
						
							
							
								 
						
							
								503addbf09 
								
							 
						 
						
							
							
								
								correctly have the test for issue #[C179 actually fail  
							
							
							
						 
						
							2012-08-22 21:20:18 +02:00  
				
					
						
							
							
								 
						
							
								1318df4f5b 
								
							 
						 
						
							
							
								
								add xfailing test for issue 179  
							
							
							
						 
						
							2012-08-22 19:49:50 +02:00  
				
					
						
							
							
								 
						
							
								0e8cd9297a 
								
							 
						 
						
							
							
								
								fix issue 176: raises(AssertionError) now catches builtin AssertionError as well  
							
							
							
						 
						
							2012-08-19 13:45:26 +02:00  
				
					
						
							
							
								 
						
							
								0cca20bef9 
								
							 
						 
						
							
							
								
								ignore magic callables with no sane code in factory/setup discovery  
							
							
							
						 
						
							2012-08-19 12:36:49 +02:00  
				
					
						
							
							
								 
						
							
								1446b4b4e6 
								
							 
						 
						
							
							
								
								fix issue  #178  and extend the failure escape test  
							
							
							
						 
						
							2012-08-17 16:08:08 +02:00  
				
					
						
							
							
								 
						
							
								627e068516 
								
							 
						 
						
							
							
								
								fix issue172 so that @pytest.setup marked setup_module/function... functions  
							
							... 
							
							
							
							are not called twice.  Also fix ordering to that broader scoped setup
functions are executed first. 
							
						 
						
							2012-08-13 13:37:14 +02:00  
				
					
						
							
							
								 
						
							
								935761f098 
								
							 
						 
						
							
							
								
								also improve missing funcarg error for setup functions  
							
							
							
						 
						
							2012-08-08 14:53:47 +02:00  
				
					
						
							
							
								 
						
							
								dd268c1b2b 
								
							 
						 
						
							
							
								
								improve error representation for missing factory definitions  
							
							... 
							
							
							
							in recursive funcarg reconstruction 
							
						 
						
							2012-08-08 11:48:53 +02:00  
				
					
						
							
							
								 
						
							
								172505f703 
								
							 
						 
						
							
							
								
								fix/consolidate --junitxml=path construction with relative pathes  
							
							
							
						 
						
							2012-08-04 10:33:43 +02:00  
				
					
						
							
							
								 
						
							
								46dc7eeacb 
								
							 
						 
						
							
							
								
								move pytest.mark.factory/setup to pytest.factory/setup, as per flub 's suggestion  
							
							
							
						 
						
							2012-08-02 12:41:46 +02:00  
				
					
						
							
							
								 
						
							
								535d892f27 
								
							 
						 
						
							
							
								
								- rename @funcarg to @factory  
							
							... 
							
							
							
							- introduce a "testcontext" object for new-style funcargs and setup methods
- New-style funcargs and setup methods cannot use the "request" object anymore. 
							
						 
						
							2012-08-01 13:57:09 +02:00  
				
					
						
							
							
								 
						
							
								cb2eb9ba33 
								
							 
						 
						
							
							
								
								reorder internal layout so that funcarg-related functionality is in python.py  
							
							
							
						 
						
							2012-08-01 09:23:39 +02:00  
				
					
						
							
							
								 
						
							
								4f94ab4e42 
								
							 
						 
						
							
							
								
								mark a test as xfailing on python2.5  
							
							
							
						 
						
							2012-08-01 09:10:40 +02:00  
				
					
						
							
							
								 
						
							
								449b55cc70 
								
							 
						 
						
							
							
								
								- enhance ordering of tests using parametrized resources  
							
							... 
							
							
							
							- introduce a refined way to perform finalization for setup functions
  which does not use cached_setup() anymore 
							
						 
						
							2012-08-01 09:07:32 +02:00  
				
					
						
							
							
								 
						
							
								9dc79fd187 
								
							 
						 
						
							
							
								
								introduce a funcargcall object, holding meta information  
							
							
							
						 
						
							2012-07-30 12:39:45 +02:00  
				
					
						
							
							
								 
						
							
								b57fb9fd47 
								
							 
						 
						
							
							
								
								introduce a SetupCall, holding meta information and setup calling state  
							
							
							
						 
						
							2012-07-30 11:51:50 +02:00  
				
					
						
							
							
								 
						
							
								d68c65b493 
								
							 
						 
						
							
							
								
								minimize active parametrized non-function scoped resources  by  
							
							... 
							
							
							
							- re-ordering at collection time
- modifying setup/teardown 
							
						 
						
							2012-07-30 10:46:03 +02:00  
				
					
						
							
							
								 
						
							
								fa61927c6b 
								
							 
						 
						
							
							
								
								introduce @pytest.mark.setup decorated function,  
							
							... 
							
							
							
							extend newexamples.txt and draft a V4 resources API doc. 
							
						 
						
							2012-07-24 12:10:04 +02:00  
				
					
						
							
							
								 
						
							
								d4a487c725 
								
							 
						 
						
							
							
								
								allow funcarg factories to receive funcargs  
							
							
							
						 
						
							2012-07-23 10:55:09 +02:00  
				
					
						
							
							
								 
						
							
								6b0f0adf5b 
								
							 
						 
						
							
							
								
								implement a scope/parametrized examples using the so-far new features  
							
							... 
							
							
							
							also fix a bug with scoping/parametrization 
							
						 
						
							2012-07-20 14:16:50 +02:00  
				
					
						
							
							
								 
						
							
								396045e53f 
								
							 
						 
						
							
							
								
								allow registration of "funcarg" marked factories  
							
							
							
						 
						
							2012-07-20 14:16:49 +02:00  
				
					
						
							
							
								 
						
							
								80db25822c 
								
							 
						 
						
							
							
								
								implement funcarg factory scope marker and ScopeMismatch detection  
							
							
							
						 
						
							2012-07-20 14:16:46 +02:00  
				
					
						
							
							
								 
						
							
								f358fe7154 
								
							 
						 
						
							
							
								
								extend Metafunc and write a pytest_generate_tests hook on the funcarg manager  
							
							... 
							
							
							
							which discovers factories 
							
						 
						
							2012-07-20 14:16:46 +02:00  
				
					
						
							
							
								 
						
							
								e14459d45c 
								
							 
						 
						
							
							
								
								discover funcarg factories independently from request/Function items  
							
							
							
						 
						
							2012-07-20 14:16:28 +02:00  
				
					
						
							
							
								 
						
							
								4e4b507472 
								
							 
						 
						
							
							
								
								move funcarg factory to a new FuncargManager object at session level  
							
							
							
						 
						
							2012-07-19 09:20:14 +02:00  
				
					
						
							
							
								 
						
							
								c7ee6e71ab 
								
							 
						 
						
							
							
								
								re-introduce the old 2.2.4 FuncargRequest implementation as it is a better  
							
							... 
							
							
							
							base for implementing the new funcarg/setup api. Also Un-optimize
funcargnames discovery for now. 
							
						 
						
							2012-07-18 19:49:14 +02:00  
				
					
						
							
							
								 
						
							
								8adac2878f 
								
							 
						 
						
							
							
								
								put automatic funcarg_ API to Py*objects only, refine internal subclassing and initialisation logic  
							
							
							
						 
						
							2012-07-16 10:46:44 +02:00  
				
					
						
							
							
								 
						
							
								099ac1e1f4 
								
							 
						 
						
							
							
								
								cleanup test a bit  
							
							
							
						 
						
							2012-07-07 08:01:44 -07:00  
				
					
						
							
							
								 
						
							
								1aca6c9d7c 
								
							 
						 
						
							
							
								
								Fix extension of of cached re-written file  
							
							... 
							
							
							
							With PYTHONOPTIMIZE set this had the extension of "o" instead of ".pyo".
Fixes issue #168 . 
							
						 
						
							2012-07-07 16:09:53 +02:00  
				
					
						
							
							
								 
						
							
								74e55493d1 
								
							 
						 
						
							
							
								
								test and implement showing verbose assert repr for py.test -vv  
							
							
							
						 
						
							2012-06-27 17:26:55 +02:00  
				
					
						
							
							
								 
						
							
								ecec653e98 
								
							 
						 
						
							
							
								
								fix issue151 - heuristcally lookup conftest files on all command line arguments, not just the first existing dir/file  
							
							... 
							
							
							
							you can install the corresponding pytest-2.3.dev2 via
pip install -i http:/pypi.testrun.org -U pytest 
							
						 
						
							2012-06-26 21:56:03 +02:00  
				
					
						
							
							
								 
						
							
								b4b86159cd 
								
							 
						 
						
							
							
								
								better name for the oejskit-compatibility-class.  
							
							
							
						 
						
							2012-06-25 17:49:13 +02:00  
				
					
						
							
							
								 
						
							
								91b6f2bda8 
								
							 
						 
						
							
							
								
								mid-scale refactoring to make request API available directly on items.  
							
							... 
							
							
							
							This commit was slightly tricky because i want to backward
compatibility especially for the oejskit plugin which
uses Funcarg-filling for non-Function objects. 
							
						 
						
							2012-06-25 17:35:33 +02:00  
				
					
						
							
							
								 
						
							
								227d847216 
								
							 
						 
						
							
							
								
								fix problem with unicode in writing failure representations to terminal, thanks ThomasWaldmann  
							
							
							
						 
						
							2012-06-24 16:42:31 +02:00  
				
					
						
							
							
								 
						
							
								6e0c30d67d 
								
							 
						 
						
							
							
								
								fix skip/xfail confusion, reported and discussed on  
							
							... 
							
							
							
							http://stackoverflow.com/questions/11105828/in-py-test-when-i-explicitly-skip-a-test-that-is-marked-as-xfail-how-can-i-get  
						
							2012-06-23 11:32:32 +02:00  
				
					
						
							
							
								 
						
							
								e79a312b92 
								
							 
						 
						
							
							
								
								fix internal test setup failure  
							
							
							
						 
						
							2012-06-21 11:30:10 +02:00  
				
					
						
							
							
								 
						
							
								ccc04b9fc4 
								
							 
						 
						
							
							
								
								some refinements to reporting and hook order  
							
							
							
						 
						
							2012-06-21 11:07:22 +02:00  
				
					
						
							
							
								 
						
							
								18306a4644 
								
							 
						 
						
							
							
								
								add header info: always report 3rd party plugins in test runs  
							
							
							
						 
						
							2012-06-20 00:16:47 +02:00  
				
					
						
							
							
								 
						
							
								1bbe1d086c 
								
							 
						 
						
							
							
								
								fix issue160 a failing setup of an xfail-marked tests should  
							
							... 
							
							
							
							be reported as xfail (not xpass) 
							
						 
						
							2012-06-19 23:48:39 +02:00  
				
					
						
							
							
								 
						
							
								b2e87ce027 
								
							 
						 
						
							
							
								
								change pluginmanager.register API to raise ValueError if the plugin object or the name is already registered  
							
							
							
						 
						
							2012-06-16 21:29:04 +02:00  
				
					
						
							
							
								 
						
							
								3f17784386 
								
							 
						 
						
							
							
								
								fix issue128 - show captured output when capsys/capfd are in use  
							
							
							
						 
						
							2012-06-03 21:01:27 +02:00  
				
					
						
							
							
								 
						
							
								0790f7a75f 
								
							 
						 
						
							
							
								
								fix issue 144 - wrong classname in junitxml  
							
							
							
						 
						
							2012-05-22 17:18:04 +02:00  
				
					
						
							
							
								 
						
							
								db8fbe7661 
								
							 
						 
						
							
							
								
								skip test for pyo on pypy since pypy doesnt do pyo  
							
							
							
						 
						
							2012-05-22 16:20:58 +02:00  
				
					
						
							
							
								 
						
							
								51d94a4a6e 
								
							 
						 
						
							
							
								
								use higher difference on timing  
							
							
							
						 
						
							2012-05-18 13:56:49 +02:00  
				
					
						
							
							
								 
						
							
								e18abfd013 
								
							 
						 
						
							
							
								
								fix issue143 - call unconfigure/sessionfinish always when  
							
							... 
							
							
							
							configure/sessionstart where called
use exitcode 4 (instead of 3 which signaled an internal error)
when an initial directory/file was not found 
							
						 
						
							2012-05-17 23:11:23 +02:00  
				
					
						
							
							
								 
						
							
								0e3779b14f 
								
							 
						 
						
							
							
								
								strip bound wrappers of class setup/tardown,  fixes   #140  
							
							... 
							
							
							
							on python3 im_func is replaced by __func__ 
							
						 
						
							2012-05-06 23:03:16 +02:00  
				
					
						
							
							
								 
						
							
								b4588f1798 
								
							 
						 
						
							
							
								
								escape the % operator in string formatting  
							
							
							
						 
						
							2012-05-03 13:49:30 -04:00  
				
					
						
							
							
								 
						
							
								1c817aa7bd 
								
							 
						 
						
							
							
								
								don't use octal syntax, since its not py2/py3 compatible  
							
							
							
						 
						
							2012-04-18 11:26:44 -04:00  
				
					
						
							
							
								 
						
							
								d02eaa8881 
								
							 
						 
						
							
							
								
								fix a import strange loop that affects pypy test appsupport on python2.5  
							
							
							
						 
						
							2012-04-13 12:41:02 +02:00  
				
					
						
							
							
								 
						
							
								58933aac2a 
								
							 
						 
						
							
							
								
								try to better handle @unittest.expectedFailure decorator  
							
							
							
						 
						
							2012-03-19 22:53:52 -07:00  
				
					
						
							
							
								 
						
							
								ee8d2f9950 
								
							 
						 
						
							
							
								
								junitxml: use a exclusive match on the legal ranges of xml for binary escaping, fixes issue 126  
							
							
							
						 
						
							2012-03-09 13:12:18 +01:00  
				
					
						
							
							
								 
						
							
								2ca6d9f039 
								
							 
						 
						
							
							
								
								no longer check if indirect metafunc.parametrize params are funcarg names  
							
							
							
						 
						
							2012-02-03 16:54:00 +01:00  
				
					
						
							
							
								 
						
							
								78e7d7aed0 
								
							 
						 
						
							
							
								
								more quit collectonly shows only files and the number of tests in them  
							
							
							
						 
						
							2012-02-03 16:56:06 +01:00  
				
					
						
							
							
								 
						
							
								68b353be0d 
								
							 
						 
						
							
							
								
								create session.items before preparse, so collectonly wont break on preparse fail,  fixes   #115  
							
							
							
						 
						
							2012-02-03 16:33:32 +01:00  
				
					
						
							
							
								 
						
							
								dfa273dc25 
								
							 
						 
						
							
							
								
								fix issue177 - actually perform session scope finalization  
							
							
							
						 
						
							2012-02-01 08:52:34 -05:00  
				
					
						
							
							
								 
						
							
								5263656df6 
								
							 
						 
						
							
							
								
								kwarg support for reports, so xdist can deserialized extended reports  
							
							
							
						 
						
							2012-01-20 19:50:45 +01:00  
				
					
						
							
							
								 
						
							
								93424b0f9c 
								
							 
						 
						
							
							
								
								add monkeypatch.chdir method  
							
							
							
						 
						
							2012-01-04 12:43:19 +01:00  
				
					
						
							
							
								 
						
							
								4131923c0f 
								
							 
						 
						
							
							
								
								test that a second undo doesn't change sys.path  
							
							... 
							
							
							
							also use a 'mp' funcarg that restores sys.path and the current working
directory in preparation for the monkeypatch.chdir method. 
							
						 
						
							2012-01-04 12:40:57 +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  
				
					
						
							
							
								 
						
							
								f2c8a837af 
								
							 
						 
						
							
							
								
								fix issue106: allow parametrize to be applied per-class/per-module  
							
							
							
						 
						
							2011-12-28 15:47:19 +00:00  
				
					
						
							
							
								 
						
							
								ccc1b21ebd 
								
							 
						 
						
							
							
								
								internally keep multiple applications of the same markers as separate  
							
							... 
							
							
							
							entities such that the new iter() API can iterate over pytest.mark
function attributes, getting all such applications.  See added example
for more info. 
							
						 
						
							2011-12-28 15:47:18 +00:00  
				
					
						
							
							
								 
						
							
								85f2a78005 
								
							 
						 
						
							
							
								
								fix wrongly committed line  
							
							
							
						 
						
							2011-12-28 07:57:19 +00:00  
				
					
						
							
							
								 
						
							
								e21202b730 
								
							 
						 
						
							
							
								
								fix Jenkins test failures  
							
							
							
						 
						
							2011-12-27 21:03:15 +00:00  
				
					
						
							
							
								 
						
							
								8e83af1c33 
								
							 
						 
						
							
							
								
								fix spacing  
							
							
							
						 
						
							2011-12-19 14:23:39 -05:00  
				
					
						
							
							
								 
						
							
								268c051eba 
								
							 
						 
						
							
							
								
								propogate current PYTHONPATH  
							
							
							
						 
						
							2011-12-19 12:02:07 -05:00  
				
					
						
							
							
								 
						
							
								03cb37b1eb 
								
							 
						 
						
							
							
								
								use an exception more consistent across python versions  
							
							
							
						 
						
							2011-12-19 11:56:22 -05:00  
				
					
						
							
							
								 
						
							
								d5c3265763 
								
							 
						 
						
							
							
								
								fix issue101: wrong args to unittest.TestCase test function now  
							
							... 
							
							
							
							produce better output 
							
						 
						
							2011-12-18 23:01:39 +00:00  
				
					
						
							
							
								 
						
							
								5093d8b925 
								
							 
						 
						
							
							
								
								fix test to actually mean something useful (thanks Jurko)  
							
							
							
						 
						
							2011-12-18 10:56:39 +00:00  
				
					
						
							
							
								 
						
							
								40187ec9bb 
								
							 
						 
						
							
							
								
								robustify monkeypatch  
							
							
							
						 
						
							2011-12-16 22:41:23 +00:00  
				
					
						
							
							
								 
						
							
								82ba764bb6 
								
							 
						 
						
							
							
								
								fix unorderable types as reported by Ralf Schmitt  
							
							
							
						 
						
							2011-12-14 10:56:51 +00:00  
				
					
						
							
							
								 
						
							
								a94a6b4282 
								
							 
						 
						
							
							
								
								fix issue99 - internalerror with --resultlog now produce better output.  
							
							... 
							
							
							
							the fix depends on another change in the py lib which unifies
the output for native and non-native traceback formatting styles 
							
						 
						
							2011-12-10 08:49:21 +00:00  
				
					
						
							
							
								 
						
							
								8307270cec 
								
							 
						 
						
							
							
								
								yay! now that we have perfect teardowns we don't need some ugly internal hooks anymore.  
							
							
							
						 
						
							2011-12-02 21:00:21 +00:00  
				
					
						
							
							
								 
						
							
								c4fe622b82 
								
							 
						 
						
							
							
								
								fix issue93 - avoid "delayed" teardowns for distributed testing by  
							
							... 
							
							
							
							simplifying handling of teardowns. 
							
						 
						
							2011-12-02 21:00:19 +00:00  
				
					
						
							
							
								 
						
							
								b28977fbaf 
								
							 
						 
						
							
							
								
								take the skip property of unittest cases and functions into account  
							
							
							
						 
						
							2011-12-01 20:17:24 +01: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  
				
					
						
							
							
								 
						
							
								ec0565fac5 
								
							 
						 
						
							
							
								
								introduce metafunc.parametrize() and @pytest.mark.parametrize with examples. deprecate metafunc.addcall()  
							
							
							
						 
						
							2011-11-17 11:09:21 +00:00  
				
					
						
							
							
								 
						
							
								8f55425898 
								
							 
						 
						
							
							
								
								fix issue87 - pastebin option now works with python3  
							
							
							
						 
						
							2011-11-15 13:35:06 +00:00  
				
					
						
							
							
								 
						
							
								a51e52aee3 
								
							 
						 
						
							
							
								
								fix issue89 apply Daniel Nouri's patch to doctest/--pdb interaction.  
							
							
							
						 
						
							2011-11-15 13:28:22 +00:00  
				
					
						
							
							
								 
						
							
								69dfc75572 
								
							 
						 
						
							
							
								
								test and fix pastebin xmlrpc import name missmatch,  fixes   #87  
							
							
							
						 
						
							2011-11-14 17:51:12 +01:00  
				
					
						
							
							
								 
						
							
								f7c1b9087a 
								
							 
						 
						
							
							
								
								fix test  
							
							
							
						 
						
							2011-11-11 23:18:33 +00:00  
				
					
						
							
							
								 
						
							
								36c42b5c15 
								
							 
						 
						
							
							
								
								introduce a new -m mark_expression option  
							
							
							
						 
						
							2011-11-11 23:02:06 +00:00  
				
					
						
							
							
								 
						
							
								bc8ee95e72 
								
							 
						 
						
							
							
								
								add ini-file "markers" option and a cmdline option "--markers" to show defined markers.  Add "skipif", "xfail" etc. to the set of builtin markers shown with the --markers option.  
							
							
							
						 
						
							2011-11-11 22:56:11 +00:00  
				
					
						
							
							
								 
						
							
								979dfd20f2 
								
							 
						 
						
							
							
								
								add a method to the config object to dynamically add a value to an (line-type) ini-value  
							
							
							
						 
						
							2011-11-11 22:56:08 +00:00  
				
					
						
							
							
								 
						
							
								bd296c796f 
								
							 
						 
						
							
							
								
								try to avoid timing/race condition  
							
							
							
						 
						
							2011-11-08 23:04:31 +00:00  
				
					
						
							
							
								 
						
							
								7144cec580 
								
							 
						 
						
							
							
								
								avoid race condition in test, fix doc link  
							
							
							
						 
						
							2011-11-08 22:06:57 +00:00  
				
					
						
							
							
								 
						
							
								99a1188287 
								
							 
						 
						
							
							
								
								simplify durations output, no percentage, no "remaining" bits  
							
							
							
						 
						
							2011-11-08 20:57:19 +00:00  
				
					
						
							
							
								 
						
							
								0b18b6094e 
								
							 
						 
						
							
							
								
								fix duration option in case of collection errors  
							
							
							
						 
						
							2011-11-08 19:00:25 +00:00  
				
					
						
							
							
								 
						
							
								a324826dfd 
								
							 
						 
						
							
							
								
								separate out the duration tests  
							
							
							
						 
						
							2011-11-08 18:12:16 +00:00  
				
					
						
							
							
								 
						
							
								29bf205f3a 
								
							 
						 
						
							
							
								
								make --durations also show the execution times of setup/teardown calls. This requires a slight incompatibility - pytest_runtest_logreport now sees setup/teardown reports even if the tests passed.  
							
							
							
						 
						
							2011-11-08 17:53:46 +00:00  
				
					
						
							
							
								 
						
							
								3b9fd3abd8 
								
							 
						 
						
							
							
								
								introduce --durations=N showing slowest test executions  
							
							
							
						 
						
							2011-11-08 17:20:56 +00:00  
				
					
						
							
							
								 
						
							
								974e4e3a9d 
								
							 
						 
						
							
							
								
								skip the symlink test on windows, win32/py32 does not support it without privs  
							
							
							
						 
						
							2011-11-07 22:00:12 +00:00  
				
					
						
							
							
								 
						
							
								369b7709f7 
								
							 
						 
						
							
							
								
								use os.symlink to make things work on windows/py32  
							
							
							
						 
						
							2011-11-07 21:02:07 +00:00  
				
					
						
							
							
								 
						
							
								a2f4a11301 
								
							 
						 
						
							
							
								
								refine lsof/FD leakage testing and rework test setup and some of pytest own tests.   Note that the actual diff to non-test code is small.  Also remove some redundant tests (introduced by a copy-paste-error apparently in test_mark.py).  
							
							
							
						 
						
							2011-11-07 18:08:41 +00:00  
				
					
						
							
							
								 
						
							
								077c468589 
								
							 
						 
						
							
							
								
								don't remove symlinks from temporary directory path - should help with some standard OSX setups  
							
							
							
						 
						
							2011-11-06 19:34:02 +00:00  
				
					
						
							
							
								 
						
							
								d4fe273b2f 
								
							 
						 
						
							
							
								
								fix FD leakage during pytest's own test run and add "--lsof" option to tox default test runs.  
							
							... 
							
							
							
							the leakage came down to a problematic bit of the stdlib logging module: it takes ownerships of stdout/stderr making it hard for pytest to implement clean capturing.  The current work around is to add some extra code in the setup machinery of pytest's own tests which actually closes sub-FDs. 
							
						 
						
							2011-11-06 15:40:17 +00:00  
				
					
						
							
							
								 
						
							
								5ae04397bd 
								
							 
						 
						
							
							
								
								proper tests for issue74, thanks Arfrever  
							
							
							
						 
						
							2011-10-26 23:59:22 +02:00  
				
					
						
							
							
								 
						
							
								2c230f910d 
								
							 
						 
						
							
							
								
								fix issue74 - propperly filter out missfit names in _tryconvertpyarg  
							
							
							
						 
						
							2011-10-26 22:40:08 +02:00  
				
					
						
							
							
								 
						
							
								e2201fe3a9 
								
							 
						 
						
							
							
								
								Look up the pytest_assertrepr_compare hook for each test item  
							
							... 
							
							
							
							Before this was only done at the time the assertion plugin was loaded.
This lead to counter-intuitive behaviour where two subdirectories with
a pytest_assertrepr_compare hook in their conftest.py would not work,
only one would ever be used.
This defers assiging the _pytest.assertion.util._reprcompare function
until the item is loaded (pytest_runtest_setup) so that it can use the
hookrelay of the test item to find the appropriate
pytest_assertrepr_compare hook for the item.
This fixes issue #77 . 
							
						 
						
							2011-10-16 11:51:15 +01:00  
				
					
						
							
							
								 
						
							
								29b4082b00 
								
							 
						 
						
							
							
								
								put the explanation generating code in the conditional fail body ( fixes   #79 )  
							
							
							
						 
						
							2011-10-14 16:26:13 -04:00  
				
					
						
							
							
								 
						
							
								6ac638ba87 
								
							 
						 
						
							
							
								
								add a reportchar for reporting errors,  fixes   #76  
							
							
							
						 
						
							2011-09-29 23:44:26 +02:00  
				
					
						
							
							
								 
						
							
								f2512017ea 
								
							 
						 
						
							
							
								
								correctly handle zero length cmdline arguments  
							
							
							
						 
						
							2011-09-25 23:26:49 +02:00  
				
					
						
							
							
								 
						
							
								3bd3ba133f 
								
							 
						 
						
							
							
								
								fix issue75 - test failure on jython.  
							
							... 
							
							
							
							also experimentally enable more tests in the jython test env. 
							
						 
						
							2011-09-25 07:40:43 +02:00  
				
					
						
							
							
								 
						
							
								d37af98db3 
								
							 
						 
						
							
							
								
								try to make test suite pass on jython 2.5.1 again  
							
							
							
						 
						
							2011-09-21 08:12:37 +02:00  
				
					
						
							
							
								 
						
							
								eaec527a60 
								
							 
						 
						
							
							
								
								relax error string matching  
							
							
							
						 
						
							2011-09-21 06:21:48 +02:00  
				
					
						
							
							
								 
						
							
								2bc4065a00 
								
							 
						 
						
							
							
								
								rewrite file newlines when the python parser is picky  
							
							
							
						 
						
							2011-09-20 17:53:07 -04:00  
				
					
						
							
							
								 
						
							
								5c32421f2e 
								
							 
						 
						
							
							
								
								merge, bump version  
							
							
							
						 
						
							2011-09-12 08:57:35 +02:00  
				
					
						
							
							
								 
						
							
								2315de8321 
								
							 
						 
						
							
							
								
								Add FIXME.  
							
							
							
						 
						
							2011-09-05 22:01:50 +02:00  
				
					
						
							
							
								 
						
							
								25711a0879 
								
							 
						 
						
							
							
								
								Add acceptance test for new --pyargs behavior.  
							
							
							
						 
						
							2011-09-05 17:38:22 +02:00  
				
					
						
							
							
								 
						
							
								8675cf640d 
								
							 
						 
						
							
							
								
								every boolop operand must have it's own format context ( fixes   #69 )  
							
							
							
						 
						
							2011-08-30 10:34:21 -04:00  
				
					
						
							
							
								 
						
							
								661a8a4a92 
								
							 
						 
						
							
							
								
								only use the last part of the module name in the filename ( fixes   #68 )  
							
							
							
						 
						
							2011-08-30 00:12:07 -04:00  
				
					
						
							
							
								 
						
							
								abe080c6b4 
								
							 
						 
						
							
							
								
								use different caches for optimized and unoptimized code ( fixes   #66 )  
							
							
							
						 
						
							2011-08-29 10:13:00 -04:00  
				
					
						
							
							
								 
						
							
								fb1b1d9aae 
								
							 
						 
						
							
							
								
								jython-2.5.2 has a core bug preventing pytest to run :(  
							
							
							
						 
						
							2011-08-19 19:25:52 +02:00  
				
					
						
							
							
								 
						
							
								c426a67b0e 
								
							 
						 
						
							
							
								
								make test skipping more precise to fix a py32 test failure  
							
							
							
						 
						
							2011-08-18 22:52:02 +02:00  
				
					
						
							
							
								 
						
							
								7636dc76e0 
								
							 
						 
						
							
							
								
								support pytest.set_trace in collection  
							
							
							
						 
						
							2011-08-01 10:53:37 +02:00  
				
					
						
							
							
								 
						
							
								643ab120f4 
								
							 
						 
						
							
							
								
								only try to create the __pycache__ dir (not a tree to it)  fixes   #60  
							
							... 
							
							
							
							Also, improve error handling surrounding __pycache__ creation. 
							
						 
						
							2011-07-25 21:40:38 -05:00  
				
					
						
							
							
								 
						
							
								f86c8469f5 
								
							 
						 
						
							
							
								
								now fix py3...  
							
							
							
						 
						
							2011-07-19 22:56:34 -05:00  
				
					
						
							
							
								 
						
							
								22335acd09 
								
							 
						 
						
							
							
								
								use binary mode  
							
							
							
						 
						
							2011-07-19 22:45:27 -05:00  
				
					
						
							
							
								 
						
							
								8b866aa065 
								
							 
						 
						
							
							
								
								add a newline for window's sake  
							
							
							
						 
						
							2011-07-19 22:41:58 -05:00  
				
					
						
							
							
								 
						
							
								2c4964d290 
								
							 
						 
						
							
							
								
								escape '%' in specialized comparison explanations ( fixes   #63 )  
							
							
							
						 
						
							2011-07-19 21:42:00 -05:00  
				
					
						
							
							
								 
						
							
								650c3bcfde 
								
							 
						 
						
							
							
								
								enhance debug tracing: print trace tags at the end of message and forget about "prefix".  
							
							... 
							
							
							
							Always log to "pytestdebug.log" if "--debug" option is given.
also move related code to pytest_helpconfig plugin. 
							
						 
						
							2011-07-14 19:11:50 +02:00  
				
					
						
							
							
								 
						
							
								ade9b9aa8e 
								
							 
						 
						
							
							
								
								add a test for vararg call  
							
							
							
						 
						
							2011-07-14 11:46:32 -05:00  
				
					
						
							
							
								 
						
							
								7576b3c7d0 
								
							 
						 
						
							
							
								
								fix assertion rewriting on calls with a double-star arg  
							
							
							
						 
						
							2011-07-14 11:45:42 -05:00  
				
					
						
							
							
								 
						
							
								85415135a4 
								
							 
						 
						
							
							
								
								merge heads  
							
							
							
						 
						
							2011-07-13 13:34:24 -05:00  
				
					
						
							
							
								 
						
							
								3cc8697744 
								
							 
						 
						
							
							
								
								respect sys.dont_write_bytecode and PYTHONDONTWRITEBYTECODE  
							
							
							
						 
						
							2011-07-13 13:33:54 -05:00  
				
					
						
							
							
								 
						
							
								703da22831 
								
							 
						 
						
							
							
								
								put systemout/systemerr to correct xml location  
							
							
							
						 
						
							2011-07-13 18:47:27 +02:00  
				
					
						
							
							
								 
						
							
								14ceaf2459 
								
							 
						 
						
							
							
								
								fix assertion rewriting in read-only directories (refs  #60 )  
							
							
							
						 
						
							2011-07-12 17:09:14 -05:00  
				
					
						
							
							
								 
						
							
								f3bc197afb 
								
							 
						 
						
							
							
								
								fix   #59 : provide better Jenkins stdout and stderr sections  
							
							
							
						 
						
							2011-07-12 23:09:03 +02:00  
				
					
						
							
							
								 
						
							
								a59c2c9e17 
								
							 
						 
						
							
							
								
								roll test_long_chain in with other boolop tests  
							
							
							
						 
						
							2011-07-11 09:24:07 -05:00  
				
					
						
							
							
								 
						
							
								6096aeca53 
								
							 
						 
						
							
							
								
								Fix a typo in assertion rewriting.  
							
							
							
						 
						
							2011-07-11 11:57:47 +02:00  
				
					
						
							
							
								 
						
							
								d1684e8052 
								
							 
						 
						
							
							
								
								report keyboardintterupt even if inteerrupted during sessionstartup  
							
							
							
						 
						
							2011-07-07 21:24:09 +02:00  
				
					
						
							
							
								 
						
							
								6a523b4f59 
								
							 
						 
						
							
							
								
								make test name shorter, so its testdir path isn't too long on windows  
							
							
							
						 
						
							2011-07-07 09:43:39 -05:00  
				
					
						
							
							
								 
						
							
								c13fa886d9 
								
							 
						 
						
							
							
								
								simplify rewrite-on-import  
							
							... 
							
							
							
							Use load_module on the import hook to load the rewritten module. This allows the
removal of the complicated code related to copying pyc files in and out of the
cache location. It also plays more nicely with parallel py.test processes like
the ones found in xdist. 
							
						 
						
							2011-07-06 23:24:04 -05:00  
				
					
						
							
							
								 
						
							
								758b5e3511 
								
							 
						 
						
							
							
								
								fix issue53: nose-style setup now called with the correct ordering  
							
							
							
						 
						
							2011-07-05 21:23:59 +02:00  
				
					
						
							
							
								 
						
							
								46950ef19a 
								
							 
						 
						
							
							
								
								rename and simplify the assert option:  
							
							... 
							
							
							
							cmdline usage is now: --assert=rewrite/reinterp/plain
there is no conflict detection (don't think that's neccessary) 
							
						 
						
							2011-07-05 17:29:53 +02:00  
				
					
						
							
							
								 
						
							
								407ca5b120 
								
							 
						 
						
							
							
								
								fix python2.5 compatibility  
							
							
							
						 
						
							2011-07-05 15:21:08 +02:00  
				
					
						
							
							
								 
						
							
								a4fe63c08d 
								
							 
						 
						
							
							
								
								test files are rewritten in a subprocess  
							
							
							
						 
						
							2011-07-03 19:28:48 -05:00  
				
					
						
							
							
								 
						
							
								ae8ee08ac0 
								
							 
						 
						
							
							
								
								adjust for new option  
							
							
							
						 
						
							2011-06-29 13:28:04 -05:00  
				
					
						
							
							
								 
						
							
								aa7f7a1c71 
								
							 
						 
						
							
							
								
								rename --assertmode choices to be more explicit  
							
							
							
						 
						
							2011-06-29 09:44:04 -05:00  
				
					
						
							
							
								 
						
							
								48b76c7544 
								
							 
						 
						
							
							
								
								rewrite test modules on import  
							
							
							
						 
						
							2011-06-28 21:13:12 -05:00  
				
					
						
							
							
								 
						
							
								f286a02582 
								
							 
						 
						
							
							
								
								rewrite with proper short-circuting on boolean operators ( fixes   #57 )  
							
							
							
						 
						
							2011-06-28 20:21:22 -05:00  
				
					
						
							
							
								 
						
							
								c6e3606c6b 
								
							 
						 
						
							
							
								
								fix the rewriter on relative imports ( fixes   #58 )  
							
							
							
						 
						
							2011-06-28 10:39:11 -05:00  
				
					
						
							
							
								 
						
							
								8e81ed693a 
								
							 
						 
						
							
							
								
								put explanation simplification in format_explanation so everyone can benefit  
							
							
							
						 
						
							2011-06-12 22:41:58 -05:00  
				
					
						
							
							
								 
						
							
								2618e3640f 
								
							 
						 
						
							
							
								
								account for quotes in error messages  
							
							
							
						 
						
							2011-06-03 22:11:00 -05:00  
				
					
						
							
							
								 
						
							
								ce1b456762 
								
							 
						 
						
							
							
								
								back out pytest_configure_funcargs hook for now  
							
							
							
						 
						
							2011-06-01 15:08:54 +02:00  
				
					
						
							
							
								 
						
							
								e3b2792677 
								
							 
						 
						
							
							
								
								fix issue49 - avoid confusing errors when initialization goes wrong  
							
							
							
						 
						
							2011-06-01 14:54:34 +02:00  
				
					
						
							
							
								 
						
							
								67859158d4 
								
							 
						 
						
							
							
								
								fix issue48 - test and fix typo in MarkInfo repr  
							
							
							
						 
						
							2011-06-01 08:03:06 +02:00  
				
					
						
							
							
								 
						
							
								5690beab5a 
								
							 
						 
						
							
							
								
								merge Benjamin's assertion-rewrite branch:  all assertion related code is now part of py.test core distribution - the builtin assertion plugin to be precise.  
							
							... 
							
							
							
							See doc/assert.txt for details on how what has been improved. 
							
						 
						
							2011-05-31 14:11:53 +02:00  
				
					
						
							
							
								 
						
							
								8bc9fdc8d3 
								
							 
						 
						
							
							
								
								fix a buffering issue that i think/hope only occurs during internal tests  
							
							
							
						 
						
							2011-05-29 09:21:48 +02:00  
				
					
						
							
							
								 
						
							
								5e311d3bfc 
								
							 
						 
						
							
							
								
								fix timing float comparison  
							
							
							
						 
						
							2011-05-29 00:45:31 +02:00  
				
					
						
							
							
								 
						
							
								5498fe960f 
								
							 
						 
						
							
							
								
								add another normpath in the junitxml tests  
							
							
							
						 
						
							2011-05-28 19:00:23 +02:00  
				
					
						
							
							
								 
						
							
								4c885cf0d2 
								
							 
						 
						
							
							
								
								hopefully final win32 fix for the junitxml path expansion  
							
							
							
						 
						
							2011-05-28 17:36:38 +02:00  
				
					
						
							
							
								 
						
							
								70dc7a976d 
								
							 
						 
						
							
							
								
								dont wrap comparisation paths in py.path.local for the junitxml tests, since missing $HOME causes issues else  
							
							
							
						 
						
							2011-05-28 16:52:05 +02:00  
				
					
						
							
							
								 
						
							
								410438f187 
								
							 
						 
						
							
							
								
								fix issue43 - better tracebacks for unexpected exceptions in doctests  
							
							
							
						 
						
							2011-05-28 14:38:15 +02:00  
				
					
						
							
							
								 
						
							
								8dc4e732f0 
								
							 
						 
						
							
							
								
								fix issue47 - fix time-per-test timing output for junitxml  
							
							
							
						 
						
							2011-05-28 14:03:10 +02:00  
				
					
						
							
							
								 
						
							
								56b40ebd75 
								
							 
						 
						
							
							
								
								use os.path.expanduser/expandvars on the junitxml path for convience,  fixes   #44  
							
							
							
						 
						
							2011-05-27 07:54:03 +02:00  
				
					
						
							
							
								 
						
							
								971f34147a 
								
							 
						 
						
							
							
								
								test that tests get rewritten  
							
							
							
						 
						
							2011-05-26 20:06:11 -05:00  
				
					
						
							
							
								 
						
							
								7cf8afef47 
								
							 
						 
						
							
							
								
								cause configure hooks to be called  
							
							
							
						 
						
							2011-05-26 18:10:49 -05:00  
				
					
						
							
							
								 
						
							
								dd199d255c 
								
							 
						 
						
							
							
								
								move _setupstate into session  
							
							
							
						 
						
							2011-05-26 17:08:56 -05:00  
				
					
						
							
							
								 
						
							
								c4d761fe99 
								
							 
						 
						
							
							
								
								these tests should cause pytest_configure to be called  
							
							
							
						 
						
							2011-05-26 16:50:04 -05:00  
				
					
						
							
							
								 
						
							
								d438a0bd83 
								
							 
						 
						
							
							
								
								introduce --assertmode option  
							
							
							
						 
						
							2011-05-26 14:34:27 -05:00  
				
					
						
							
							
								 
						
							
								250160b4b0 
								
							 
						 
						
							
							
								
								refactor explanation formatting things into their own module  
							
							
							
						 
						
							2011-05-26 12:01:34 -05:00  
				
					
						
							
							
								 
						
							
								f423ce9c01 
								
							 
						 
						
							
							
								
								import assertion code from pylib  
							
							
							
						 
						
							2011-05-25 17:54:02 -05:00  
				
					
						
							
							
								 
						
							
								491c05cea7 
								
							 
						 
						
							
							
								
								create the _pytest/assertion package  
							
							
							
						 
						
							2011-05-25 16:18:45 -05:00  
				
					
						
							
							
								 
						
							
								c0910abf2f 
								
							 
						 
						
							
							
								
								account py3 range objects  
							
							
							
						 
						
							2011-05-24 18:30:18 -05:00  
				
					
						
							
							
								 
						
							
								fa412675fc 
								
							 
						 
						
							
							
								
								use py.builtin.exec_  
							
							
							
						 
						
							2011-05-24 18:28:05 -05:00  
				
					
						
							
							
								 
						
							
								0bb84abca7 
								
							 
						 
						
							
							
								
								handle comparison results which raise when asked for their truth value  
							
							
							
						 
						
							2011-05-24 18:15:08 -05:00  
				
					
						
							
							
								 
						
							
								f5decc90ca 
								
							 
						 
						
							
							
								
								test that python loads our fake pycs  
							
							
							
						 
						
							2011-05-24 17:52:17 -05:00  
				
					
						
							
							
								 
						
							
								76cede83c0 
								
							 
						 
						
							
							
								
								add a way to disable assertion rewriting for a module  
							
							
							
						 
						
							2011-05-24 17:30:35 -05:00  
				
					
						
							
							
								 
						
							
								9c4f6791e5 
								
							 
						 
						
							
							
								
								give initial imports a reasonable lineno  
							
							
							
						 
						
							2011-05-24 17:21:58 -05:00  
				
					
						
							
							
								 
						
							
								7ba8fee3dc 
								
							 
						 
						
							
							
								
								improve this test  
							
							
							
						 
						
							2011-05-20 09:44:36 -05:00  
				
					
						
							
							
								 
						
							
								aae89cd021 
								
							 
						 
						
							
							
								
								correctly handle multiple asserts  
							
							
							
						 
						
							2011-05-19 18:56:48 -05:00  
				
					
						
							
							
								 
						
							
								9e6dfaefd9 
								
							 
						 
						
							
							
								
								place assertion imports after __future__ statements and docstrings  
							
							
							
						 
						
							2011-05-19 16:53:13 -05:00  
				
					
						
							
							
								 
						
							
								c742e47de0 
								
							 
						 
						
							
							
								
								new assertion debugger which rewrites asserts before they are run  
							
							
							
						 
						
							2011-05-18 15:31:10 -05:00  
				
					
						
							
							
								 
						
							
								b6815538c5 
								
							 
						 
						
							
							
								
								introduce the pytest_configure_funcargs hook for better control on funcarg instanciation/configuration  
							
							
							
						 
						
							2011-05-12 23:47:05 +02:00  
				
					
						
							
							
								 
						
							
								942ae47cd1 
								
							 
						 
						
							
							
								
								tentatively use internal list for cleanups at unconfigure time - this helps reporting with partially executed pytest_configure() hooks  
							
							
							
						 
						
							2011-04-17 12:20:13 +02:00  
				
					
						
							
							
								 
						
							
								06ca7090f9 
								
							 
						 
						
							
							
								
								fix issue38 - nicer tracebacks on sessionstart/configure (and other internal/custom hook failures)  
							
							
							
						 
						
							2011-04-17 12:20:11 +02:00  
				
					
						
							
							
								 
						
							
								1c1918eb22 
								
							 
						 
						
							
							
								
								Prevent null-characters from appearing in junitxml's output  
							
							... 
							
							
							
							The Jenkins XML parser does not deal with null-characters inside the
XML.  This replaces any null character with nothing in the XML output,
which makes no visual difference. 
							
						 
						
							2011-04-16 00:09:25 +01:00  
				
					
						
							
							
								 
						
							
								60ff2e8529 
								
							 
						 
						
							
							
								
								Allow unicode characters in testdir.makepyfile()  
							
							... 
							
							
							
							On python2.x text arguments where passed through str, which meant only
ascii-encodable strings could be used.  This uses
py.builting._totext() to keep unicode until it is written out to the
file, which was already UTF-8 encoded. 
							
						 
						
							2011-04-11 23:15:56 +01:00  
				
					
						
							
							
								 
						
							
								3a9788fc6f 
								
							 
						 
						
							
							
								
								fix missing reason/name information for skipped tests  
							
							
							
						 
						
							2011-03-19 17:59:07 +01:00  
				
					
						
							
							
								 
						
							
								ed6d2537bc 
								
							 
						 
						
							
							
								
								fix issue33 - no collection error for classes prefixed "test" deriving from object  
							
							
							
						 
						
							2011-03-16 16:36:18 +01:00  
				
					
						
							
							
								 
						
							
								1a7c6ecc42 
								
							 
						 
						
							
							
								
								fix slightly wrong verbose output for non subclasses on windows  
							
							
							
						 
						
							2011-03-08 13:37:00 +01:00  
				
					
						
							
							
								 
						
							
								f2670651b3 
								
							 
						 
						
							
							
								
								half the overhead for calling a test function by introducing some caching  
							
							
							
						 
						
							2011-03-07 18:28:45 +01:00  
				
					
						
							
							
								 
						
							
								c552b58dc5 
								
							 
						 
						
							
							
								
								fix issue27 - --collectonly and -k keyword selection now work together.  
							
							... 
							
							
							
							internally, collectonly and terminal reporting has been unified. 
							
						 
						
							2011-03-06 18:32:00 +01:00  
				
					
						
							
							
								 
						
							
								18e784c9c9 
								
							 
						 
						
							
							
								
								re-introduce pytest._fillfuncargs - it's actually used by oejskit,  
							
							... 
							
							
							
							added a test documenting this. 
							
						 
						
							2011-03-06 08:56:58 +01:00  
				
					
						
							
							
								 
						
							
								a6c518e68c 
								
							 
						 
						
							
							
								
								unittest plugin: prune __unittest marked modules from traces  
							
							
							
						 
						
							2011-03-05 17:49:51 +01:00  
				
					
						
							
							
								 
						
							
								7e44c38570 
								
							 
						 
						
							
							
								
								avoid this test on pypy because syntax errors on pypy-1.4.1 are not precise it seems  
							
							
							
						 
						
							2011-03-05 14:59:06 +01:00  
				
					
						
							
							
								 
						
							
								bfe6e98abb 
								
							 
						 
						
							
							
								
								don't expose _fillfuncargs (no clue why it ever was exposed)  
							
							
							
						 
						
							2011-03-05 14:29:10 +01:00  
				
					
						
							
							
								 
						
							
								07cee24122 
								
							 
						 
						
							
							
								
								avoid deprecation warnings for our internal accesses  
							
							
							
						 
						
							2011-03-05 14:16:27 +01:00  
				
					
						
							
							
								 
						
							
								318e8a404b 
								
							 
						 
						
							
							
								
								fix and improve error reporting for parametrizing funcargs (originally reported by antlong)  
							
							
							
						 
						
							2011-03-05 12:11:35 +01:00  
				
					
						
							
							
								 
						
							
								070c73ff2f 
								
							 
						 
						
							
							
								
								fix issue30 (the second time)  
							
							... 
							
							
							
							put module globals into namespace for xfail and skipif expressions 
							
						 
						
							2011-03-03 23:22:55 +01:00  
				
					
						
							
							
								 
						
							
								682773e0cb 
								
							 
						 
						
							
							
								
								fix issue30 - better handling and reporting of errors in xfail expressions  
							
							
							
						 
						
							2011-03-03 12:19:17 +01:00  
				
					
						
							
							
								 
						
							
								6f3b84da9f 
								
							 
						 
						
							
							
								
								fix issue 28 - setup_method now works with pytest_generate_tests  
							
							
							
						 
						
							2011-03-02 18:03:43 +01:00  
				
					
						
							
							
								 
						
							
								2f2586af72 
								
							 
						 
						
							
							
								
								Fix pytest_assertrepr_compare on python3 (issue24)  
							
							... 
							
							
							
							The maxsize argument must be an integer and the devision syntax changed
between python2 and python3. 
							
						 
						
							2011-02-15 23:24:18 +00:00  
				
					
						
							
							
								 
						
							
								74b9ebc1cd 
								
							 
						 
						
							
							
								
								accept a left out "()" for ids on command line for better compatibility with pytest.vim  
							
							
							
						 
						
							2011-02-07 11:09:42 +01:00  
				
					
						
							
							
								 
						
							
								3004fe3915 
								
							 
						 
						
							
							
								
								fix the last committed laxation of a test  
							
							
							
						 
						
							2011-02-04 23:20:27 +01:00  
				
					
						
							
							
								 
						
							
								eb225456d7 
								
							 
						 
						
							
							
								
								laxer test for also passing it with pypy  
							
							
							
						 
						
							2011-02-04 22:51:05 +01:00  
				
					
						
							
							
								 
						
							
								762ea71f67 
								
							 
						 
						
							
							
								
								fix error reporting issue when a "pyc" file has no relating "py"  
							
							
							
						 
						
							2011-01-27 21:11:21 +01:00  
				
					
						
							
							
								 
						
							
								adacd3491d 
								
							 
						 
						
							
							
								
								fix test related to "not in"  
							
							
							
						 
						
							2011-01-27 11:36:12 +01:00  
				
					
						
							
							
								 
						
							
								d8d88ede65 
								
							 
						 
						
							
							
								
								refine and unify initial capturing - now works also if the logging module  
							
							... 
							
							
							
							is already used from an early-loaded conftest.py file (prior to option parsing) 
							
						 
						
							2011-01-18 12:51:21 +01:00  
				
					
						
							
							
								 
						
							
								b8f0d10f80 
								
							 
						 
						
							
							
								
								fix a pypy related regression - re-allow self.NAME style collection tree customization  
							
							
							
						 
						
							2011-01-18 12:47:31 +01:00  
				
					
						
							
							
								 
						
							
								aea4d1bd7a 
								
							 
						 
						
							
							
								
								fix regression with yield-based tests (hopefully)  
							
							
							
						 
						
							2011-01-14 13:30:36 +01:00  
				
					
						
							
							
								 
						
							
								88cfaebbcb 
								
							 
						 
						
							
							
								
								fix issue12 - show plugin versions with "--version" and "--traceconfig" and also document how to add extra information to reporting test header  
							
							
							
						 
						
							2011-01-12 19:39:36 +01:00  
				
					
						
							
							
								 
						
							
								4445685285 
								
							 
						 
						
							
							
								
								pypy doesn't neccessarily honour -OO it seems, let's not test assertions there.  
							
							
							
						 
						
							2011-01-12 18:57:40 +01:00  
				
					
						
							
							
								 
						
							
								1b3fb3d229 
								
							 
						 
						
							
							
								
								fix issue15 - tests for python3/nose-1.0 combo work now  
							
							
							
						 
						
							2011-01-11 17:27:34 +01:00  
				
					
						
							
							
								 
						
							
								170c78cef9 
								
							 
						 
						
							
							
								
								remove same-conftest.py detection - does more harm than good  
							
							... 
							
							
							
							(see mail from Ralf Schmitt on py-dev) 
							
						 
						
							2011-01-11 15:54:47 +01:00  
				
					
						
							
							
								 
						
							
								8631c1f57a 
								
							 
						 
						
							
							
								
								Add "not in" to detailed explanations  
							
							... 
							
							
							
							This simply uses difflib to compare the text without the offending
string to the full text.
Also ensures the summary line uses all space available.  But the
terminal width is still hardcoded. 
							
						 
						
							2010-12-10 01:03:26 +00:00  
				
					
						
							
							
								 
						
							
								821f493378 
								
							 
						 
						
							
							
								
								check docstring at test time instead of runtime, improve and test warning on assertion turned off (thanks FND for reporting)  
							
							
							
						 
						
							2010-12-09 11:00:31 +01:00  
				
					
						
							
							
								 
						
							
								a15983cb33 
								
							 
						 
						
							
							
								
								rather named the new hook cmdline_preparse  
							
							
							
						 
						
							2010-12-07 12:34:18 +01:00  
				
					
						
							
							
								 
						
							
								9ab256c296 
								
							 
						 
						
							
							
								
								make getvalueorskip() be hidden in skip-reporting. also bump version.  
							
							
							
						 
						
							2010-12-07 12:18:24 +01:00