testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00674
[Bug 762008] Re: LessThan assertion error is inaccurate
** Changed in: testtools
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
https://bugs.launchpad.net/bugs/762008
Title:
LessThan assertion error is inaccurate
Status in testtools:
Fix Released
Bug description:
If you do:
self.assertThat(5, LessThan(3))
You'll get an error that says:
Difference: 3 is >= 5
Which is not true. The standard way of expressing errors is to say
something that is true, but wrong.
To manage notifications about this bug go to:
https://bugs.launchpad.net/testtools/+bug/762008/+subscriptions
References