def test_equality_numpy_scalar():
 assert (10 != (10.0 * u.m))
 assert (np.int64(10) != (10 * u.m))
 assert ((10 * u.m) != np.int64(10))

def test_equality_numpy_scalar ( ) : assert ( 10 != ( 10.0 * u . m ) ) assert ( np . int64 ( 10 ) != ( 10 * u . m ) ) assert ( ( 10 * u . m ) != np . int64 ( 10 ) )
a regression test to ensure that numpy scalars are correctly compared .