When it fails to convert, ValueError will be raised, not TypeError
>>> dict('1')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: dictionary update sequence element #0 has length 1; 2 is required
Coverage remained the same at 92.609% when pulling 4ad4deef04a50e1b00a085e0816e5c8e75be0306 on yujunz:allow-primitives into 71f7b94d686bdae102c78b019ce647363e71636f on ssato:next.
Coverage remained the same at 92.609% when pulling c7c7bb61826b1c265969af9879fbe88a7cfc0f0b on yujunz:allow-primitives into 71f7b94d686bdae102c78b019ce647363e71636f on ssato:next.
When it fails to convert,
ValueError
will be raised, notTypeError