|
From: Mohanaraj G. K. <mo...@gm...> - 2010-04-01 01:04:42
|
On Wed, Mar 31, 2010 at 8:19 PM, Michael Foord <fuz...@vo...> wrote: > > On 31/03/2010 02:04, Mohanaraj Gopala Krishnan wrote: > > Is there someplace I can refer to get an idea as to how to run the tests. I have done > cd configobj-4.7.2/tests > python test_configobj.py > > That runs most of the tests. There are some unit tests as well. I use unittest2 test discovery (the discover module should work as well - both are on PyPI) to run these. Ok I will try those modules out thanks! > > and get the follwing result > 3 items had failures: > 2 of 7 in configobj.Section.as_int > 1 of 6 in configobj.Section.merge > 2 of 6 in configobj.Section.walk > ***Test Failed*** 5 failures. > However I get these same results when I try to run the tests before applying my patch. > Any advice ? > > Hmm... What version of Python are you using and what operating system? Can you show the actual test failures (the results), thanks. I use Ubuntu 9.10, python version 2.6.4 , from the distributions repository. I have attached the complete test results, when I run "python test_configobj.py". <snip> |