Commit Graph

12 Commits

Author SHA1 Message Date
holger krekel 8fcdac9dd6 * fix capturing and unicode printing in tests
* introduce "_encoding" to py/io/terminalwriter writing
* beautify a few __repr__ for better internal debugging

--HG--
branch : 1.0.x
2009-08-06 14:34:19 +02:00
holger krekel be949f4037 * reworked capturing to only capture once per runtest cycle
* added readouterr() method to py.io capturing helpers

--HG--
branch : 1.0.x
2009-07-31 14:21:02 +02:00
holger krekel 2b12f3f538 resolves issue 18 multiprocessing py.test co-existence
add fileno() method and test DontReadFromInput redirection some more

--HG--
branch : 1.0.x
2009-06-24 16:35:01 +02:00
holger krekel 74ba91dd50 resolve issue 23
--HG--
branch : 1.0.x
2009-06-24 16:24:20 +02:00
holger krekel e61e7b1e26 * fix too-many-open files issue with fd based io-capturing
* workaround 2.6 issue with pickling of objects from global conftest.py files

--HG--
branch : trunk
2009-06-09 17:06:31 +02:00
hpk abc8cf09aa [svn r57321] merging the event branch:
* moving in test, misc, code, io directories and
  py/__init__.py
* py/bin/_find.py does not print to stderr anymore
* a few fixes to conftest files in other dirs
some more fixes and adjustments pending

--HG--
branch : trunk
2008-08-16 17:26:59 +02:00
hpk 7428eadf7d [svn r57320] remove test, misc, doc, io, and code directories
that are to come from the event branch with the next commit.

--HG--
branch : trunk
2008-08-16 17:10:17 +02:00
hpk 9f8035656e [svn r37872] StdCaptureFD and StdCapture now try
to take care of stdin in a mostly uniform way.

--HG--
branch : trunk
2007-02-03 14:57:25 +01:00
hpk 7fd122a4c1 [svn r37772] have both capturings have the same done/reset semantics
(should also fix a buildcmodule related problem, e.g. for
greenlets)

--HG--
branch : trunk
2007-02-01 22:52:42 +01:00
hpk 17754c6fd9 [svn r37766] unifying non-FD and FD capturing some more
(could be more, but at least the APIs start
to feel the same)

--HG--
branch : trunk
2007-02-01 21:26:27 +01:00
hpk 3ad6642a49 [svn r37745] fixing and adding to docstring
--HG--
branch : trunk
2007-02-01 16:35:29 +01:00
hpk b706ec2f95 [svn r37741] monster checking for
* unifying IO capturing methods
* py.io.StdCapture and py.io.StdCaptureFD
  (and both have a classmethod 'call' that is
  a shortcut for capturing output while
  executing a function)
* removing lots of duplicate code
* providing some examples in py/doc/io.txt

at least tests on win32 and linux seem
to pass all for me.

--HG--
branch : trunk
2007-02-01 16:20:39 +01:00