diff options
-rw-r--r-- | python/subunit/v2.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/subunit/v2.py b/python/subunit/v2.py index 9ff139c..254617c 100644 --- a/python/subunit/v2.py +++ b/python/subunit/v2.py @@ -309,6 +309,11 @@ class ByteStreamToStreamResult(object): # annoying). buffered = [content] while len(buffered[-1]): + # Note: Windows does not support passing a file descriptor to + # select.select. fallback to one-byte-at-a-time. + if sys.platform == 'win32': + break + try: self.source.fileno() except: |