How to check if value is nan in unittest?,assertTrue(math.isnan(nan_value))