summaryrefslogtreecommitdiff
path: root/python/subunit/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/subunit/run.py')
-rwxr-xr-xpython/subunit/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/subunit/run.py b/python/subunit/run.py
index b78bf32..2a3de42 100755
--- a/python/subunit/run.py
+++ b/python/subunit/run.py
@@ -110,7 +110,7 @@ if __name__ == '__main__':
# on non-ttys.
stream = get_default_formatter()
runner = SubunitTestRunner
- # Patch stdout to be unbuffered, so that pdb works well.
+ # Patch stdout to be unbuffered, so that pdb works well on 2.6/2.7.
binstdout = io.open(sys.stdout.fileno(), 'wb', 0)
if sys.version_info[0] > 2:
sys.stdout = io.TextIOWrapper(binstdout, encoding=sys.stdout.encoding)