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 nativ
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.
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 t
Hi,
I caught Tarek on IRC and forced him to answer my questions. Here are
the latest news:
- I have cleaned up and synchronized the distutils2 codebase with
packaging in 3.3. All features and bugs are now identical. The test
suite runs with Python 2.4 to 2.7; there are three or four test failu
On Wed, Sep 21, 2011 at 11:02 AM, Stefan Krah wrote:
> Ezio Melotti wrote:
>>> +@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')
>
> skipUnless(
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/h
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
Ezio Melotti wrote:
>> +@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')
skipUnless() is perhaps a bit cleaner, but have_long_long is pretty
establis