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
holger krekel
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
Benjamin Peterson
ade9b9aa8e
add a test for vararg call
2011-07-14 11:46:32 -05:00
Benjamin Peterson
7576b3c7d0
fix assertion rewriting on calls with a double-star arg
2011-07-14 11:45:42 -05:00
Benjamin Peterson
85415135a4
merge heads
2011-07-13 13:34:24 -05:00
Benjamin Peterson
3cc8697744
respect sys.dont_write_bytecode and PYTHONDONTWRITEBYTECODE
2011-07-13 13:33:54 -05:00
holger krekel
703da22831
put systemout/systemerr to correct xml location
2011-07-13 18:47:27 +02:00
Benjamin Peterson
14ceaf2459
fix assertion rewriting in read-only directories (refs #60 )
2011-07-12 17:09:14 -05:00
holger krekel
f3bc197afb
fix #59 : provide better Jenkins stdout and stderr sections
2011-07-12 23:09:03 +02:00
Benjamin Peterson
aafe6a8e34
add changelog note about fixing large boolops
2011-07-12 11:13:34 -05:00
holger krekel
46b1348b79
merge heads
2011-07-12 17:21:48 +02:00
holger krekel
709da3fe84
add benjamin's post to docs, up version, open changelog
2011-07-12 10:38:02 +02:00
Benjamin Peterson
a59c2c9e17
roll test_long_chain in with other boolop tests
2011-07-11 09:24:07 -05:00
Michał Bartoszkiewicz
6096aeca53
Fix a typo in assertion rewriting.
2011-07-11 11:57:47 +02:00
Benjamin Peterson
8cd68494bf
update assertion option names
2011-07-10 21:02:36 -05:00
holger krekel
dd4b252749
add experimental "+1" button
2011-07-09 13:48:55 +02:00
holger krekel
59067684cd
switching back to pytest.org self-hosting for docs - there is too much issues where i needed/need to poke people :/
2011-07-09 13:23:58 +02:00
holger krekel
81f4a07548
Added tag 2.1.0 for changeset e5e1746a197f
2011-07-09 12:02:27 +02:00
holger krekel
50c8218501
mention pypi package name
2011-07-09 12:02:22 +02:00
holger krekel
814c6c70f1
try use distribute always, update version
2011-07-09 10:09:04 +02:00
holger krekel
85118e9019
needs pypi.testrun.org for now to pull py lib
2011-07-08 23:09:41 +02:00
holger krekel
c2cdc66eca
only invoke distribute's use_setuptools when there is no setuptools installed
2011-07-08 22:58:22 +02:00
Benjamin Peterson
bc66cd85b1
customize pyc tag based on implementation
2011-07-08 13:53:23 -05:00
Benjamin Peterson
639f35bbc4
on windows, rename is not atomic, so utilize exclusive access to the file
2011-07-08 13:17:42 -05:00
holger krekel
8c683acad1
finalize 2.1.0 version numbering
2011-07-08 13:23:12 +02:00
holger krekel
dc8225afea
adding release announcement
2011-07-08 13:16:32 +02:00
holger krekel
8713f4ba60
fix issue 35 - provide download link and improved PDF version
2011-07-08 12:42:26 +02:00
holger krekel
c40dc9f779
bump version
2011-07-07 23:21:01 +02:00
holger krekel
d1684e8052
report keyboardintterupt even if inteerrupted during sessionstartup
2011-07-07 21:24:09 +02:00
holger krekel
c25ea2cbe2
add a note about hook partial finalization issues
2011-07-07 21:15:35 +02:00
Benjamin Peterson
6a523b4f59
make test name shorter, so its testdir path isn't too long on windows
2011-07-07 09:43:39 -05:00
Benjamin Peterson
fb043c355e
use py.builtin.exec_
2011-07-07 09:27:40 -05:00
Benjamin Peterson
0ef23dd31f
merge heads
2011-07-06 23:24:54 -05:00
Benjamin Peterson
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
holger krekel
79ac8c6681
reshuffle start page as per gutworth feedback
2011-07-06 22:05:48 +02:00
holger krekel
418cd482b1
fix a doc link
2011-07-06 21:47:33 +02:00
holger krekel
491f58ab26
releax py requirement to allow readthedocs installing pytest dev
2011-07-06 21:44:57 +02:00
holger krekel
df85ddf0d2
don't import py
2011-07-06 20:25:54 +02:00
holger krekel
e7c8fc7db9
rearrange and streamline documentation navigation to better work
...
with readthedocs and also with PDF generation.
2011-07-06 20:21:59 +02:00
holger krekel
92f8eef836
show release level info for pypy
2011-07-06 10:18:11 +02:00
holger krekel
758b5e3511
fix issue53: nose-style setup now called with the correct ordering
2011-07-05 21:23:59 +02:00
holger krekel
e91dc7c895
up pytest version to 2.1.0.dev8, depend on py-1.4.4.dev2
2011-07-05 19:14:38 +02:00
Benjamin Peterson
4e8b9fab3c
insure moving pyc files around is atomic
2011-07-05 12:02:53 -05:00