From 74ba91dd506a2b2d883e42a80202a4a4a37a0930 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Wed, 24 Jun 2009 16:24:20 +0200 Subject: [PATCH] resolve issue 23 --HG-- branch : 1.0.x --- CHANGELOG | 5 ++++- py/io/stdcapture.py | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index a9ff36b22..4bdf9dab1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,7 +8,10 @@ Changes between 1.0.0b3 and 1.0.0 * apply modified patches from Andreas Kloeckner to allow test functions to have no func_code (#22) and to make - "-k" and function keywords work (#20) + "-k" and function keywords work (#20) + +* apply patch from Daniel Peolzleithner (issue #23) + Changes between 1.0.0b1 and 1.0.0b3 ============================================= diff --git a/py/io/stdcapture.py b/py/io/stdcapture.py index 2c4bd376c..eed9fb029 100644 --- a/py/io/stdcapture.py +++ b/py/io/stdcapture.py @@ -137,6 +137,9 @@ class DontReadFromInput: readlines = read __iter__ = read + def isatty(self): + return False + try: devnullpath = os.devnull except AttributeError: