7 Jun
2010
7 Jun
'10
11:55 a.m.
Hello Tres, Thursday, June 3, 2010, 9:39:50 PM, you wrote: TS> If the tests contain non-ASCII characters, we have to specify which TS> encoding the file is encoded with. We do so by using the `encoding` TS> parameter: TS> >>> suite = doctest.DocFileSuite('test_doctest.txt', TS> ... 'test_doctest2.txt', TS> ... 'test_doctest4.txt', TS> ... encoding='utf-8') TS> >>> suite.run(unittest.TestResult()) eeeek, didn't know that. Thanks. -- Best regards, Adam GROSZER mailto:agroszer@gmail.com -- Quote of the day: Who is W. O. Baker, and why is he saying those terrible things about me?