Message240070
the new test:
test_exc('%x', '1', TypeError, "%x format: a number is required, not str")
expects the wrong error message.
python -m unittest -v test.test_format
...
'%x' % '1' works? ... no
Unexpected <class 'TypeError'> : '%x format: an integer is required, not str'
...
-> it's "an integer", not "a number" |
|
| Date |
User |
Action |
Args |
| 2015-04-04 14:07:05 | wolma | set | recipients:
+ wolma, vstinner, ethan.furman, python-dev, serhiy.storchaka |
| 2015-04-04 14:07:05 | wolma | set | messageid: <1428156425.48.0.721339746513.issue23466@psf.upfronthosting.co.za> |
| 2015-04-04 14:07:05 | wolma | link | issue23466 messages |
| 2015-04-04 14:07:05 | wolma | create | |
|