← Back to team overview

testtools-dev team mailing list archive

[Bug 663600] Re: Use Python 3 style qualified exception names in tracebacks

 

Can you give an example of socket.error being displayed without the
"socket." bit?

** Changed in: testtools
       Status: New => Triaged

** Changed in: testtools
   Importance: Undecided => Low

-- 
Use Python 3 style qualified exception names in tracebacks
https://bugs.launchpad.net/bugs/663600
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.

Status in testtools: Triaged

Bug description:
Originally as part of my unicode traceback work I had the module name included when printing exceptions, as Python 3 does. However it broke a few tests, and wasn't really a requirement to get non-ascii tracebacks working so I removed that logic. Putting it back in would be particularly useful for things called 'error', is that socket.error or pywintypes.error or...?





References