Searched refs:assertNotAlmostEqual (Results 1 – 13 of 13) sorted by relevance
/external/python/cpython2/Lib/unittest/test/ |
D | test_assertions.py | 9 self.assertNotAlmostEqual(1.0000001, 1.0) 13 self.assertNotAlmostEqual, 1.00000001, 1.0) 20 self.assertNotAlmostEqual(0, .1+.1j, places=1) 24 self.assertNotAlmostEqual, 0, .1+.1j, places=0) 27 self.assertRaises(self.failureException, self.assertNotAlmostEqual, 33 self.assertNotAlmostEqual(1.1, 1.0, delta=0.05) 34 self.assertNotAlmostEqual(1.0, 1.1, delta=0.05) 37 self.assertRaises(self.failureException, self.assertNotAlmostEqual, 42 self.assertRaises(self.failureException, self.assertNotAlmostEqual, 47 self.assertRaises(TypeError, self.assertNotAlmostEqual, [all …]
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_assertions.py | 11 self.assertNotAlmostEqual(1.0000001, 1.0) 15 self.assertNotAlmostEqual, 1.00000001, 1.0) 22 self.assertNotAlmostEqual(0, .1+.1j, places=1) 26 self.assertNotAlmostEqual, 0, .1+.1j, places=0) 29 self.assertRaises(self.failureException, self.assertNotAlmostEqual, 35 self.assertNotAlmostEqual(1.1, 1.0, delta=0.05) 36 self.assertNotAlmostEqual(1.0, 1.1, delta=0.05) 39 self.assertRaises(self.failureException, self.assertNotAlmostEqual, 44 self.assertRaises(self.failureException, self.assertNotAlmostEqual, 49 self.assertRaises(TypeError, self.assertNotAlmostEqual, [all …]
|
D | _test_warnings.py | 34 self.assertNotAlmostEqual(4+4, 2)
|
/external/python/cpython2/Doc/library/ |
D | 2to3.rst | 186 ``failIfAlmostEqual(a, b)`` :meth:`assertNotAlmostEqual(a, b) 187 <unittest.TestCase.assertNotAlmostEqual>` 188 ``assertNotAlmostEquals(a, b)`` :meth:`assertNotAlmostEqual(a, b) 189 <unittest.TestCase.assertNotAlmostEqual>`
|
D | unittest.rst | 975 | :meth:`assertNotAlmostEqual(a, b) | ``round(a-b, 7) != 0`` | | 976 | <TestCase.assertNotAlmostEqual>` | | | 1005 assertNotAlmostEqual(first, second, places=7, msg=None, delta=None) 1020 that compare equal. :meth:`assertNotAlmostEqual` automatically fails 1340 :meth:`.assertNotAlmostEqual` failIfAlmostEqual
|
/external/python/cpython3/Doc/library/ |
D | 2to3.rst | 186 ``failIfAlmostEqual(a, b)`` :meth:`assertNotAlmostEqual(a, b) 187 <unittest.TestCase.assertNotAlmostEqual>` 188 ``assertNotAlmostEquals(a, b)`` :meth:`assertNotAlmostEqual(a, b) 189 <unittest.TestCase.assertNotAlmostEqual>`
|
D | unittest.rst | 1125 | :meth:`assertNotAlmostEqual(a, b) | ``round(a-b, 7) != 0`` | | 1126 | <TestCase.assertNotAlmostEqual>` | | | 1153 assertNotAlmostEqual(first, second, places=7, msg=None, delta=None) 1168 that compare equal. :meth:`assertNotAlmostEqual` automatically fails 1479 :meth:`.assertNotAlmostEqual` failIfAlmostEqual assertNotAlmostEquals
|
/external/python/cpython2/Lib/unittest/ |
D | case.py | 564 def assertNotAlmostEqual(self, first, second, places=None, msg=None, delta=None): member in TestCase 603 assertNotAlmostEquals = assertNotAlmostEqual 619 failIfAlmostEqual = _deprecate(assertNotAlmostEqual)
|
/external/python/cpython3/Lib/unittest/ |
D | case.py | 895 def assertNotAlmostEqual(self, first, second, places=None, msg=None, member in TestCase 1345 failIfAlmostEqual = assertNotAlmostEquals = _deprecate(assertNotAlmostEqual)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.2.rst | 1812 :meth:`assertNotAlmostEquals` :meth:`.assertNotAlmostEqual`
|
D | 2.7.rst | 1969 * :meth:`~unittest.TestCase.assertAlmostEqual` and :meth:`~unittest.TestCase.assertNotAlmostEqual` …
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0a1.rst | 2847 unittest's assertAlmostEqual and assertNotAlmostEqual provide a better
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.7.rst | 1945 * :meth:`~unittest.TestCase.assertAlmostEqual` and :meth:`~unittest.TestCase.assertNotAlmostEqual` …
|