def _isnotsuite(test):
    "A crude way to tell apart testcases and suites with duck-typing"
    try:
        iter(test)
    except __HOLE__:
        return True
    return False
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/unittest/suite.py/_isnotsuite