assertFloatsNotEqual

lsst.utils.tests.assertFloatsNotEqual(testCase: unittest.case.TestCase, lhs: Union[float, numpy.ndarray], rhs: Union[float, numpy.ndarray], **kwds) → None

Fail a test if the given floating point values are equal to within the given tolerances.

See assertFloatsAlmostEqual (called with rtol=atol=0) for more information.

Parameters:
testCase : unittest.TestCase

Instance the test is part of.

lhs : scalar or array-like

LHS value(s) to compare; may be a scalar or array-like of any dimension.

rhs : scalar or array-like

RHS value(s) to compare; may be a scalar or array-like of any dimension.

Raises:
AssertionError

The values are almost equal.