[Python-Dev] unittest assertRaisesRegex bug? (original) (raw)

Ethan Furman ethan at stoneleaf.us
Thu Mar 20 00:59:22 CET 2014


On 03/19/2014 04:41 PM, Thomas Wouters wrote:

What Antoine is trying to tell you is that the traceback you pasted shows this: _File "/home/ethan/source/python/issue19995/Lib/test/test_unicode.py", line 1156, in testformatting _self.assertRaisesRegex(TypeError, '%c'.mod, pi), ... which is passing '%c'.mod as the 'regex' argument.

Argh.

Thank you, Thomas.

Thank you, and my apologies for being so dense, Antoine.

-- Ethan



More information about the Python-Dev mailing list