966c63d477 
								
							 
						 
						
							
							
								
								merge with default  
							
							... 
							
							
							
							--HG--
branch : test_for_issue_604 
							
						 
						
							2014-10-07 01:06:15 +02:00  
				
					
						
							
							
								 
						
							
								e1aed27c15 
								
							 
						 
						
							
							
								
								Escape % character in the assertion message.  closes   #604  
							
							... 
							
							
							
							--HG--
branch : test_for_issue_604 
							
						 
						
							2014-10-07 01:01:21 +02:00  
				
					
						
							
							
								 
						
							
								39158957f4 
								
							 
						 
						
							
							
								
								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.
--HG--
branch : issue557 
							
						 
						
							2014-10-06 12:11:48 +02:00  
				
					
						
							
							
								 
						
							
								24468a6f34 
								
							 
						 
						
							
							
								
								Added test for ValueError in custom assert message with % sign (issue  #604 )  
							
							... 
							
							
							
							https://bitbucket.org/hpk42/pytest/issue/604/valueerror-unsupported-format-character-in 
--HG--
branch : test_for_issue_604 
						
							2014-10-05 14:49:15 +02:00  
				
					
						
							
							
								 
						
							
								72e6f55b45 
								
							 
						 
						
							
							
								
								Improve assertion failure reporting on iterables, by using ndiff and pprint.  
							
							... 
							
							
							
							--HG--
branch : better-diff-on-verbose-2 
							
						 
						
							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