21 Sep
2011
21 Sep
'11
4:21 p.m.
2011/9/21 Georg Brandl
Am 21.09.2011 15:25, schrieb Ezio Melotti:
@@ -1205,6 +1214,18 @@ minitemsize = 4 tests.append(UnsignedLongTest)
+@unittest.skipIf(not have_long_long, 'need long long support')
I think this would read better with skipUnless and s/have/has/:
@unittest.skipUnless(HAS_LONG_LONG, 'need long long support')
I don't think so. "skip if not" reads pretty well for me, while I always have to think twice about "unless" -- may be a non-native- speaker thing.
You might also not program in Ruby enough. :) -- Regards, Benjamin