* various jython related fixes.

* more care for print-errors including unicode-encoding related errors.

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-04-28 15:24:38 +02:00
parent 37cdf17e0e
commit 22a50a5b88
12 changed files with 63 additions and 27 deletions

View File

@@ -393,7 +393,8 @@ def test_setup_failure_does_not_kill_capturing(testdir):
def test_fdfuncarg_skips_on_no_osdup(testdir):
testdir.makepyfile("""
import os
del os.dup
if hasattr(os, 'dup'):
del os.dup
def test_hello(capfd):
pass
""")