Sha256: 5467b2619883b9801f26fa48f1e11f8f7641a308e395b6f0c4aa4d17958e3f86

Contents?: true

Size: 303 Bytes

Versions: 2

Compression:

Stored size: 303 Bytes

Contents

import sys
import unittest

def skip_if(condition, reason):
    if condition:
        raise unittest.SkipTest(reason)

HAVE_32_BIT_LINUX = sys.maxsize == 2**31-1 and sys.platform == 'linux'

requires_py36 = unittest.skipUnless(
    sys.version_info > (3, 6),
    "test requires Python 3.6 or greater")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ndtypes-0.2.0dev8 ext/ruby_ndtypes/ndtypes/python/ndt_support.py
ndtypes-0.2.0dev6 ext/ruby_ndtypes/ndtypes/python/ndt_support.py