holger krekel
e2cf3e0932
Added tag 2.5.2 for changeset 421d3b4d150d
2014-01-29 14:09:33 +01:00
holger krekel
1830de2c13
make it clear that this xfail is an unimplemented feature, nothing more.
2014-01-29 13:56:24 +01:00
holger krekel
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
holger krekel
8a3b4b9c37
require py>=1.2.20
2014-01-29 13:11:40 +01:00
holger krekel
2b8a54d5d9
refine skipif to use direct booleans, to help with flakes
2014-01-29 11:46:36 +01:00
holger krekel
4eabfed651
refactor lsof checking and fix an lsof leak in pypy
2014-01-29 11:18:15 +01:00
holger krekel
505a34bb85
fix flakes failures
2014-01-29 10:20:13 +01:00
holger krekel
2dade6ed00
add changelog entry about issue429, adapt README
2014-01-29 09:00:14 +01:00
Floris Bruynooghe
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
Floris Bruynooghe
cc1186242c
Avoid wasted string concatenation and improve english
2014-01-29 00:39:04 +00:00
holger krekel
86284689a3
simplify loop which turns direct funcarg parametrization to indirect
2014-01-27 12:53:44 +01:00
holger krekel
c70d020bf3
allow positional args to tox invocation
2014-01-27 12:42:06 +01:00
holger krekel
4622c28ffd
setupstate.addfinalizer(): fix docstring and remove related unit test not covering functional reality
2014-01-26 12:44:21 +01:00
holger krekel
899998cf9c
Merged in hpk42/pytest-capsimple/capsimple1 (pull request #115 )
...
some simplifications in capturing code
2014-01-26 12:07:45 +01:00
holger krekel
6f385fb4ea
remove "mixed" capturing mode which is not used by pytest
...
--HG--
branch : capsimple1
2014-01-25 19:56:27 +01:00
holger krekel
18e12cbd67
remove "StdCapture*.call" classmethod because pytest does not use it.
...
--HG--
branch : capsimple1
2014-01-25 19:43:57 +01:00
holger krekel
3cf4e133cc
remove now parameter because pytest only used now==False everywhere
...
--HG--
branch : capsimple1
2014-01-25 19:42:45 +01:00
holger krekel
d53bfe0aa7
Merged in RonnyPfannschmidt/pytest/multi-usageerror (pull request #113 )
...
Make one usage error for every argument that fails instead of bailing at the first only
2014-01-25 11:04:53 +01:00
Ronny Pfannschmidt
97da43d909
merge from default
...
--HG--
branch : multi-usageerror
2014-01-25 10:42:21 +01:00
holger krekel
ee080ce8a5
Merged in jurko/pytest/remove_github_references (pull request #112 )
...
remove references to the no longer used github mirror
2014-01-25 10:30:31 +01:00
Jurko Gospodnetić
741a3e8602
remove references to the no longer used github mirror
...
--HG--
branch : remove_github_references
2014-01-25 09:11:55 +01:00
Ronny Pfannschmidt
177637bfb9
Redo the Capture integration propperly
2014-01-24 21:22:19 +01:00
Piotr Banaszkiewicz
ae64221c34
Contribution guide: added pull request button image
2014-01-24 20:01:04 +01:00
Piotr Banaszkiewicz
22017f11d0
Contribution guide: removed confusion regarding git
2014-01-24 19:37:44 +01:00
Piotr Banaszkiewicz
c1eaad7d57
Contribution guide: added "what is pull request" section
2014-01-24 19:21:21 +01:00
holger krekel
8e6d538a57
address issue416: clarify docs as to conftest.py loading semantics
2014-01-23 15:25:01 +01:00
holger krekel
0836d74ae7
add Jurko to authors/contributors file
2014-01-23 15:08:24 +01:00
holger krekel
a9e5bd52d3
remove github links
2014-01-23 14:50:58 +01:00
Anatoly Bubenkov
b4b5e358c3
merge with mainline
2014-01-23 13:21:00 +01:00
Anatoly Bubenkov
4190809d1a
remove the github contribution section
2014-01-23 13:19:49 +01:00
holger krekel
4e2a820c6a
add Daniel Greensfeld 3-part blog series about pytest
2014-01-23 13:07:28 +01:00
holger krekel
14a43fffee
have travis use the devpi index to get the pylib dependency
2014-01-23 12:18:20 +01:00
holger krekel
245d39f52d
Merged in jurko/pytest/document_ExceptionInfo_ref_cycle (pull request #109 )
...
document explicitly clearing local references to pytest.raises() results (redo of pull request #98 )
2014-01-23 11:42:51 +01:00
holger krekel
ac0b862f8f
speak about "pytest" rather than "py.test". Thanks Jurko.
2014-01-23 11:42:20 +01:00
holger krekel
c41db8ebbb
refine contributing text in several places
2014-01-23 11:38:05 +01:00
Jurko Gospodnetić
75c124ea17
reword note on explicitly clearing local references to pytest.raises() results
...
Made it clearer that clearing such references is not mandatory and is only an
optional step which may help the Python interpreter speed up its garbage
collection.
--HG--
branch : document_ExceptionInfo_ref_cycle
2014-01-23 11:36:04 +01:00
Anatoly Bubenkov
ab13c3f362
add explicit branch creation note
2014-01-23 10:51:45 +01:00
holger krekel
c9af19dae1
rename, refine and link to new contributing doc from several places.
2014-01-23 10:21:06 +01:00
Jurko Gospodnetić
ffffac27f9
document explicitly clearing local references to pytest.raises() results
...
pytest.raises() returns an ExceptionInfo object which, if a local reference is
made to it, forms a reference cycle:
ExceptionInfo
--> exception
--> stack frame raising the exception
--> current stack frame
--> current local variables
--> Exception Info
Such a reference cycle would then prevent any local variables in the current
stack frame, or any of its child stack frames involved in the same reference
cycle, from being garbage collected until the next reference cycle garbage
collection phase. This unnecessarily increases the program's memory footprint
and potentially slows it down.
This situation is based on a similar one described in the official 'try'
statement Python documentation for locally stored exception references.
--HG--
branch : document_ExceptionInfo_ref_cycle
2014-01-23 09:46:36 +01:00
Anatoly Bubenkov
618bd56acf
add Piotr Banaszkiewicz
2014-01-23 00:54:25 +01:00
Anatoly Bubenkov
402232e60f
merge pbanaszkiewicz/contributiondocs
2014-01-23 00:52:49 +01:00
holger krekel
400b51caf6
mark encoding test as xfail also on py2
2014-01-22 22:18:33 +01:00
holger krekel
9aaf0fd340
backing out Ronny's PR because it was merged too early (still has failing tests)
2014-01-22 22:15:40 +01:00
Ronny Pfannschmidt
8976b3ee0e
stop exposing capsys/capfd.capture
2014-01-22 21:52:32 +01:00
Ronny Pfannschmidt
ac2f2b1deb
add notes on the copied pylib version
2014-01-22 21:50:07 +01:00
Ronny Pfannschmidt
0be961a0f3
capture tests: move imports and declarations to the top
2014-01-22 21:46:35 +01:00
Ronny Pfannschmidt
b4a397d153
kill ancient capture devnullpath, os.devnull exists since py 2.4
2014-01-22 21:37:59 +01:00
Ronny Pfannschmidt
d1a9ab3df0
small cleanp
2014-01-22 21:04:00 +01:00
Ronny Pfannschmidt
0ede968ec0
kill the str magic of Encodedfile
2014-01-22 21:03:49 +01:00
Ronny Pfannschmidt
5f21abc3a3
move imports and declarations to the top
2014-01-22 20:48:17 +01:00