test passed because UnicodeEncodeError is a subclass of ValueError
test passed because UnicodeEncodeError is a subclass of ValueError

That's obviously not right. Hooray subclasses.

Ayrx/cryptography,Ayrx/cryptography,Ayrx/cryptography,Ayrx/cryptography