From acfc653d083d09772df32f67f90d7cc1603ed3fe Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 11 Dec 2014 09:56:12 +1300 Subject: Remove support for SUBUNIT_FORMATTER, which has been broken for a long time. --- python/subunit/run.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'python/subunit/run.py') 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'): -- cgit v1.2.1