[pypy-issue] [issue1371] test failure x2 of logbook's test_regular.py

Amaury Forgeot d Arc tracker at bugs.pypy.org
Fri Jan 18 13:09:58 CET 2013


Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

IMO the test relies too much on the exception message.

The difference is probably this one:   '{:invalid}'.format(None)   
raises a "ValueError: Invalid conversion specification" on CPython, but 
"ValueError: invalid format spec" with PyPy.

----------
nosy: +afa

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1371>
________________________________________


More information about the pypy-issue mailing list