Lines Matching refs:assert_attr
3842 def assert_attr(a, b, attr, context, signal=None): function
3869 assert_attr(small_d, big_f, attr, c, signal)
3872 assert_attr(big_d, small_f, attr, c, signal)
3875 assert_attr(small_d, small_f, '__eq__', c, None)
3877 assert_attr(neg_zero_d, neg_zero_f, '__eq__', c, None)
3878 assert_attr(neg_zero_d, zero_f, '__eq__', c, None)
3880 assert_attr(zero_d, neg_zero_f, '__eq__', c, None)
3881 assert_attr(zero_d, zero_f, '__eq__', c, None)
3883 assert_attr(neg_inf_d, neg_inf_f, '__eq__', c, None)
3884 assert_attr(inf_d, inf_f, '__eq__', c, None)
3887 assert_attr(small_d, big_f, '__ne__', c, None)
3889 assert_attr(Decimal('0.1'), 0.1, '__ne__', c, None)
3891 assert_attr(neg_inf_d, inf_f, '__ne__', c, None)
3892 assert_attr(inf_d, neg_inf_f, '__ne__', c, None)
3894 assert_attr(Decimal('NaN'), float('nan'), '__ne__', c, None)