diff options
| author | Robert Collins <robertc@robertcollins.net> | 2013-11-24 11:59:39 +1300 |
|---|---|---|
| committer | Robert Collins <robertc@robertcollins.net> | 2013-11-24 11:59:39 +1300 |
| commit | a3d90de617e6cdf909adc46159a25e6803e0e432 (patch) | |
| tree | bff1e6cb37355b20143471be2279508ec328a309 /python/subunit/__init__.py | |
| parent | d89b53bdce42ffe4b91e66c9abeb2458d48361bb (diff) | |
| download | subunit-git-a3d90de617e6cdf909adc46159a25e6803e0e432.tar.gz | |
The test suite was failing 6 tests due to testtools changing it's output
formatting of exceptions. (Robert Collins)
Diffstat (limited to 'python/subunit/__init__.py')
| -rw-r--r-- | python/subunit/__init__.py | 7 |
1 files changed, 0 insertions, 7 deletions
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.") |
