r51508 - python/branches/int_unification/Lib/test/test_builtin.py
Author: martin.v.loewis Date: Wed Aug 23 17:05:38 2006 New Revision: 51508 Modified: python/branches/int_unification/Lib/test/test_builtin.py Log: Disable __long__ tests; it is questionable that they represent desirable behaviour even in 2.x. Modified: python/branches/int_unification/Lib/test/test_builtin.py ============================================================================== --- python/branches/int_unification/Lib/test/test_builtin.py (original) +++ python/branches/int_unification/Lib/test/test_builtin.py Wed Aug 23 17:05:38 2006 @@ -1068,10 +1068,12 @@ self.assertEqual(long(Foo0()), 42L) self.assertEqual(long(Foo1()), 42L) - self.assertEqual(long(Foo2()), 42L) + # XXX invokes __int__ now + # self.assertEqual(long(Foo2()), 42L) self.assertEqual(long(Foo3()), 0) - self.assertEqual(long(Foo4()), 42) - self.assertRaises(TypeError, long, Foo5()) + # XXX likewise + # self.assertEqual(long(Foo4()), 42) + # self.assertRaises(TypeError, long, Foo5()) def test_map(self): self.assertEqual(
participants (1)
-
martin.v.loewis