[Grok-dev] z3c.testsetup versus docfilesuite encoding

Reinout van Rees reinout at vanrees.org
Thu Oct 8 05:27:32 EDT 2009


On 2009-10-07, Christian Theune <ct at gocept.com> wrote:
>
> I noticed some annoyances with z3c.testsetup WRT doctest files and encoding:
>
> - the default encoding is utf-8 and can not be turned to python's system
> default of None because of "or"-ing the optional parameter.
>
> - the encoding is only applied to functional docfile suites, but not the
> ones that are unit tests
>
> - can the default please be the same as Python?
>
> Why does one care about that encoding anyway?

z3c.testsetup being build by a fellow German probably means Uli solved some
umlaut annoyance with it :-)  What's the best way to solve this?

- Should all encoding stuff be ripped out?

- Is it enough to just handle the None default better?


Reinout


-- 
Reinout van Rees - reinout at vanrees.org - http://reinout.vanrees.org
Software developer at http://www.thehealthagency.com
"Military engineers build missiles. Civil engineers build targets"



More information about the Grok-dev mailing list