summaryrefslogtreecommitdiff
path: root/python/subunit/run.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-12-11 09:56:12 +1300
committerRobert Collins <robertc@robertcollins.net>2014-12-11 09:56:12 +1300
commitacfc653d083d09772df32f67f90d7cc1603ed3fe (patch)
tree113c023cea272012f9fead5d6a6e29700369b449 /python/subunit/run.py
parent0bc24fac38207c81f9cfc4bafc2305b723701de9 (diff)
downloadsubunit-acfc653d083d09772df32f67f90d7cc1603ed3fe.tar.gz
Remove support for SUBUNIT_FORMATTER, which has been broken for a long time.
Diffstat (limited to 'python/subunit/run.py')
-rwxr-xr-xpython/subunit/run.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/subunit/run.py b/python/subunit/run.py
index e711dd6..8469ac9 100755
--- a/python/subunit/run.py
+++ b/python/subunit/run.py
@@ -26,7 +26,7 @@ import sys
from testtools import ExtendedToStreamDecorator
-from subunit import StreamResultToBytes, get_default_formatter
+from subunit import StreamResultToBytes
from subunit.test_results import AutoTimingTestResultDecorator
from testtools.run import (
BUFFEROUTPUT,
@@ -128,8 +128,6 @@ def main(argv=None, stdout=None):
# stdout is None except in unit tests.
if stdout is None:
stdout = sys.stdout
- # XXX: This is broken code- SUBUNIT_FORMATTER is not being honoured.
- stream = get_default_formatter()
# Disable the default buffering, for Python 2.x where pdb doesn't do it
# on non-ttys.
if hasattr(stdout, 'fileno'):