def METHOD_NAME(self):
    inf = Decimal("inf")
    ninf = Decimal("-inf")
    v = Decimal("0.123")
    s = StatValue.from_list([inf, ninf, v])
    self.assertTrue(s.sum.is_nan(), f"Not NaN, but {s.sum}")
    self.assertTrue(s.avg.is_nan(), f"Not NaN, but {s.avg}")
    self.assertEqual(s.max, inf, f"Not Inf, but {s.max}")
    self.assertEqual(s.min, ninf, f"Not -Inf, but {s.min}")
    self.assertEqual(s.median, v, f"Not 0.123, but {s.median}")
    self.assertTrue(s.stdev.is_nan(), f"Not NaN, but {s.stdev}")