def testNewStyleClassWithNumberProtocol(self): obj = NewStyleNumber(123) self.assertEqual(sample.acceptInt(obj), obj.value)
def testBasic(self): '''For the sake of calibration...''' self.assertEqual(sample.acceptInt(123), 123)