[Python-Dev] unittest assertRaisesRegex bug?
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 test_formatting
> 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