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,
2011/9/21 Georg Brandl g.bra...@gmx.net:
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/:
Georg Brandl writes:
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.
FWIW, speaking as one native speaker, I'm not sure about that. do ...
if not condition doesn't bother me, whether I think of
On 21/09/2011 18:02, Stephen J. Turnbull wrote:
Georg Brandl writes:
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.
FWIW, speaking as one native speaker, I'm not sure about that. do ...
On 21/09/2011 21.08, Michael Foord wrote:
On 21/09/2011 18:02, Stephen J. Turnbull wrote:
Georg Brandl writes:
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.
FWIW, speaking as one native