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