def valid_api_version(version):
    global VALID_API_VERSIONS
    if not isinstance(VALID_API_VERSIONS, list):
        VALID_API_VERSIONS = [str(VALID_API_VERSIONS)]
    return version in VALID_API_VERSIONS
>>> test1 = unittest.FunctionTestCase(lambda: None)
dataset/ETHPy150Open openstack/swift/swift/common/constraints.py/valid_api_version--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_unittest.py/test_TestSuite_iter