[qmtest] problem with qmtest tutorial

Mark Mitchell mark at codesourcery.com
Thu Dec 16 01:52:56 UTC 2004


Stefan Seefeld wrote:
> Mark Mitchell wrote:
>  > thomas guyonnet wrote:
>  >
>  >> hello,
>  >> I try to use QMTest on window and it seems to have some bugs with the
>  >> example:
>  >> - when I try to examin the test clicking on the exec1 label, a new
>  >> page appear with this dialog:
>  >
>  >
>  > That's very odd; I've never seen that before.  It's possible that it's a
>  > side effect of using Python 2.4, but I'm not sure why that would be. I'm
>  > afraid that you'll have to debug the code.

> Solution: replace the use of 'is' by '==' to compare strings.

Oh, dear -- I wonder how many places we made that mistake.  I think it 
was semi-intentional; some functional languages guarantee equal strings 
will be "eq", not just "eql".  Got a patch?

-- 
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
(916) 791-8304



More information about the qmtest mailing list