Exemplo n.º 1
0
def requires_python2():
    return unittest.skipIf(PYTHON3, 'Requires Python 2.X.')
Exemplo n.º 2
0
def requires_not_uncertainties():
    return unittest.skipIf(HAS_UNCERTAINTIES,
                           'Requires Uncertainties is not installed.')
Exemplo n.º 3
0
def requires_not_numpy():
    return unittest.skipIf(HAS_NUMPY, 'Requires NumPy is not installed.')
Exemplo n.º 4
0
def requires_python2():
    return unittest.skipIf(PYTHON3, 'Requires Python 2.X.')
Exemplo n.º 5
0
def requires_not_uncertainties():
    return unittest.skipIf(HAS_UNCERTAINTIES, 'Requires Uncertainties is not installed.')
Exemplo n.º 6
0
def requires_not_numpy():
    return unittest.skipIf(HAS_NUMPY, 'Requires NumPy is not installed.')