From a3d90de617e6cdf909adc46159a25e6803e0e432 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Sun, 24 Nov 2013 11:59:39 +1300 Subject: The test suite was failing 6 tests due to testtools changing it's output formatting of exceptions. (Robert Collins) --- python/subunit/__init__.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'python/subunit/__init__.py') diff --git a/python/subunit/__init__.py b/python/subunit/__init__.py index a259880..b385e9b 100644 --- a/python/subunit/__init__.py +++ b/python/subunit/__init__.py @@ -133,13 +133,6 @@ from testtools.compat import _b, _u, BytesIO, StringIO try: from testtools.testresult.real import _StringException RemoteException = _StringException - # For testing: different pythons have different str() implementations. - if sys.version_info > (3, 0): - _remote_exception_str = "testtools.testresult.real._StringException" - _remote_exception_str_chunked = "34\r\n" + _remote_exception_str - else: - _remote_exception_str = "_StringException" - _remote_exception_str_chunked = "1A\r\n" + _remote_exception_str except ImportError: raise ImportError ("testtools.testresult.real does not contain " "_StringException, check your version.") -- cgit v1.2.1