[Python-Dev] [Python-checkins] cpython: Issue #1172711: Add 'long long' support to the array module.

Stefan Krah stefan at bytereef.org
Wed Sep 21 18:02:27 CEST 2011


Ezio Melotti <ezio.melotti at gmail.com> wrote:
>> + at 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
established elsewhere (for example in pyport.h).


Stefan Krah




More information about the Python-Dev mailing list