Home
last modified time | relevance | path

Searched refs:assertNotAlmostEqual (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython2/Lib/unittest/test/
Dtest_assertions.py9 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/
Dtest_assertions.py11 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.py34 self.assertNotAlmostEqual(4+4, 2)
/external/python/cpython2/Doc/library/
D2to3.rst186 ``failIfAlmostEqual(a, b)`` :meth:`assertNotAlmostEqual(a, b)
187 <unittest.TestCase.assertNotAlmostEqual>`
188 ``assertNotAlmostEquals(a, b)`` :meth:`assertNotAlmostEqual(a, b)
189 <unittest.TestCase.assertNotAlmostEqual>`
Dunittest.rst975 | :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/
D2to3.rst186 ``failIfAlmostEqual(a, b)`` :meth:`assertNotAlmostEqual(a, b)
187 <unittest.TestCase.assertNotAlmostEqual>`
188 ``assertNotAlmostEquals(a, b)`` :meth:`assertNotAlmostEqual(a, b)
189 <unittest.TestCase.assertNotAlmostEqual>`
Dunittest.rst1125 | :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/
Dcase.py564 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/
Dcase.py895 def assertNotAlmostEqual(self, first, second, places=None, msg=None, member in TestCase
1345 failIfAlmostEqual = assertNotAlmostEquals = _deprecate(assertNotAlmostEqual)
/external/python/cpython3/Doc/whatsnew/
D3.2.rst1812 :meth:`assertNotAlmostEquals` :meth:`.assertNotAlmostEqual`
D2.7.rst1969 * :meth:`~unittest.TestCase.assertAlmostEqual` and :meth:`~unittest.TestCase.assertNotAlmostEqual` …
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a1.rst2847 unittest's assertAlmostEqual and assertNotAlmostEqual provide a better
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1945 * :meth:`~unittest.TestCase.assertAlmostEqual` and :meth:`~unittest.TestCase.assertNotAlmostEqual` …