def _iterateTests(testSuiteOrCase):
    try:
        suite = iter(testSuiteOrCase)
    except TypeError:
        yield testSuiteOrCase
    else:
        for test in suite:
            for subtest in _iterateTests(test):
                yield subtest



# Support for Python 2.3
Check user cannot log in after deauthrorizing app.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/unittest.py/_iterateTests--crossover with--dataset/ETHPy150Open jgorset/fandjango/tests/test_fandjango.py/TestFacebookMultipleMiddleware.test_deauthorized_user