mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Syntax cleanup.
This commit is contained in:
parent
3f8ab965f7
commit
02ea12b291
7 changed files with 9 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue