Change the way the encoding parameter is handled.
This fixes test_doctest with strict bytes/str.
1 file changed