[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
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import py
|
||||
from py.__.misc.simplecapture import callcapture
|
||||
import sys
|
||||
|
||||
callcapture = py.io.StdCapture.call
|
||||
|
||||
def setup_module(mod):
|
||||
mod.tempdir = py.test.ensuretemp("py.log-test")
|
||||
mod.logstate = py.log._getstate()
|
||||
|
||||
Reference in New Issue
Block a user