holger krekel
346da57a8a
bump to version 2.1.3, add release announce, regen docs (with make regen)
2011-10-18 20:07:45 +02:00
Floris Bruynooghe
9d92b19ed1
Mention issue #77 in changelog
2011-10-17 22:17:41 +01:00
Floris Bruynooghe
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
Benjamin Peterson
45b98d6e70
cast boolean thing to int to make py3.3 happy
2011-10-14 18:08:10 -04:00
Benjamin Peterson
29b4082b00
put the explanation generating code in the conditional fail body ( fixes #79 )
2011-10-14 16:26:13 -04:00
Ronny Pfannschmidt
6ac638ba87
add a reportchar for reporting errors, fixes #76
2011-09-29 23:44:26 +02:00
Ronny Pfannschmidt
f2512017ea
correctly handle zero length cmdline arguments
2011-09-25 23:26:49 +02:00
holger krekel
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
holger krekel
be249dcfe5
correct base version number
2011-09-24 15:19:03 +02:00
holger krekel
45afb1b7d1
fix issue67 - junitxml now contains correct durations. thanks ronny.
2011-09-24 15:15:51 +02:00
holger krekel
922a283f99
bump version
2011-09-24 14:13:24 +02:00
holger krekel
7e857e9068
Added tag 2.1.2 for changeset 5864412c6f3c
2011-09-24 14:11:54 +02:00
holger krekel
172d46abd0
add release announcement for 2.1.2
2011-09-24 08:06:39 +02:00
Ronny Pfannschmidt
ac9192e4f8
make call durations part of the test report
2011-09-23 10:53:03 +02:00
holger krekel
b490047b1c
make pip a bit more prominent now that it works on py3
2011-09-23 07:35:47 +02:00
holger krekel
ad785a476c
going for 2.1.2 bug fix release
2011-09-23 07:30:44 +02:00
holger krekel
d37af98db3
try to make test suite pass on jython 2.5.1 again
2011-09-21 08:12:37 +02:00
holger krekel
4316cf2121
quick review of issues
2011-09-21 07:52:41 +02:00
holger krekel
fb6fc673b8
don't try assertion rewriting on jython for now
2011-09-21 06:45:40 +02:00
holger krekel
eaec527a60
relax error string matching
2011-09-21 06:21:48 +02:00
Benjamin Peterson
2bc4065a00
rewrite file newlines when the python parser is picky
2011-09-20 17:53:07 -04:00
holger krekel
5c32421f2e
merge, bump version
2011-09-12 08:57:35 +02:00
Dinu Gherman
fab7615c8a
Capitalised start of headlines, added -ing to a few headlines.
2011-09-06 11:43:42 +02:00
Florian Mayer
2315de8321
Add FIXME.
2011-09-05 22:01:50 +02:00
Florian Mayer
25711a0879
Add acceptance test for new --pyargs behavior.
2011-09-05 17:38:22 +02:00
Florian Mayer
0e05a4fbcf
Improve --pyargs.
...
Don't evaluate modules and do nto show 'module not found' if ImportError is
thrown in the module.
2011-09-01 16:19:16 +02:00
Benjamin Peterson
8675cf640d
every boolop operand must have it's own format context ( fixes #69 )
2011-08-30 10:34:21 -04:00
Benjamin Peterson
8b211983ff
clear instead of deleting temporary assertion variables
2011-08-30 00:24:57 -04:00
Benjamin Peterson
661a8a4a92
only use the last part of the module name in the filename ( fixes #68 )
2011-08-30 00:12:07 -04:00
Benjamin Peterson
abe080c6b4
use different caches for optimized and unoptimized code ( fixes #66 )
2011-08-29 10:13:00 -04:00
Benjamin Peterson
574d230c22
add heading for next version
2011-08-29 10:10:00 -04:00
holger krekel
88c5299a94
fix announcement
2011-08-20 18:51:53 +02:00
holger krekel
09933b8b04
bump to 2.1.1, regen examples, add release announcement
2011-08-20 18:37:00 +02:00
holger krekel
fb1b1d9aae
jython-2.5.2 has a core bug preventing pytest to run :(
2011-08-19 19:25:52 +02:00
holger krekel
68a08840e1
adding issue numbers to the CHANGELOG
2011-08-19 18:06:46 +02:00
holger krekel
41b8a03b05
merge
2011-08-19 18:07:39 +02:00
holger krekel
fba2079292
bump version number, refine goodpractises wrt to importing test modules
2011-08-19 07:58:50 +02:00
Benjamin Peterson
9675b0f65c
factor out win32 checks
2011-08-18 18:15:30 -05:00
holger krekel
c426a67b0e
make test skipping more precise to fix a py32 test failure
2011-08-18 22:52:02 +02:00
Benjamin Peterson
6ca3c980bf
same as 6e94b1809f67: ENOTDIR is ENOENT on windows
2011-08-18 14:49:17 -05:00
Benjamin Peterson
5bd34f8ecc
windows kicks up a ENOENT when a part of the path is not a dir
2011-08-18 14:39:57 -05:00
Ronny Pfannschmidt
7636dc76e0
support pytest.set_trace in collection
2011-08-01 10:53:37 +02:00
Benjamin Peterson
c5dee7b549
_make_rewritten_pyc doesn't need to return anything
2011-07-25 21:42:57 -05:00
Benjamin Peterson
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
Benjamin Peterson
f86c8469f5
now fix py3...
2011-07-19 22:56:34 -05:00
Benjamin Peterson
22335acd09
use binary mode
2011-07-19 22:45:27 -05:00
Benjamin Peterson
8b866aa065
add a newline for window's sake
2011-07-19 22:41:58 -05:00
Benjamin Peterson
2c4964d290
escape '%' in specialized comparison explanations ( fixes #63 )
2011-07-19 21:42:00 -05:00
holger krekel
a70293fdb7
add ability to build pytest man page with "cd doc ; make man". Is to be
...
found in doc/_build/man/pytest.1 afterwards.
also streamline PDF generation a bit.
2011-07-14 23:13:32 +02:00
holger krekel
43113f9a9d
add some debugging tracing to assertion rewriting to understand where failures (specifically issue60) come from.
2011-07-14 19:17:17 +02:00