Syntax cleanup.

This commit is contained in:
Florent Xicluna 2010-07-28 16:39:41 +00:00
parent 3f8ab965f7
commit 02ea12b291
7 changed files with 9 additions and 11 deletions

View file

@ -164,7 +164,7 @@ class SampleCallbacksTestCase(unittest.TestCase):
result = integrate(0.0, 1.0, CALLBACK(func), 10)
diff = abs(result - 1./3.)
self.assertTrue(diff < 0.01, "%s not less than 0.01" % diff)
self.assertLess(diff, 0.01, "%s not less than 0.01" % diff)
def test_issue_8959_a(self):
from ctypes.util import find_library