def METHOD_NAME(self):
    for enum, expected in zip(WierdNum, ('Infinity', '-Infinity', 'NaN')):
        self.assertEqual(self.dumps(enum), expected)
        if not isnan(enum):
            self.assertEqual(float(self.dumps(enum)), enum)
            self.assertEqual(self.loads(self.dumps(enum)), enum)
        else:
            self.assertTrue(isnan(float(self.dumps(enum))))
            self.assertTrue(isnan(self.loads(self.dumps(enum))))