diff options
| author | Jonathan Lange <jml@mumak.net> | 2006-12-19 16:13:53 +1100 |
|---|---|---|
| committer | Jonathan Lange <jml@mumak.net> | 2006-12-19 16:13:53 +1100 |
| commit | c42cac02dc84b8db42f3c85f36affdaf732245a1 (patch) | |
| tree | 2fa37a73b5b41a4c3420bffd073b51a93501c474 /python/subunit/__init__.py | |
| parent | 472b3ae396f3649158cbd776e42bda53a8f800a8 (diff) | |
| download | subunit-git-c42cac02dc84b8db42f3c85f36affdaf732245a1.tar.gz | |
Return a valid exc_info tuple from RemoteError
Diffstat (limited to 'python/subunit/__init__.py')
| -rw-r--r-- | python/subunit/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/subunit/__init__.py b/python/subunit/__init__.py index 922c53f..1fc34ec 100644 --- a/python/subunit/__init__.py +++ b/python/subunit/__init__.py @@ -218,7 +218,7 @@ class TestProtocolClient(unittest.TestResult): def RemoteError(description=""): if description == "": description = "\n" - return (RemoteException("RemoteError:\n%s" % description), None, None) + return (RemoteException, RemoteException(description), None) class RemotedTestCase(unittest.TestCase): |
