def testCaseHasAttribute(testCase, attributeName):
    if hasattr(getattr(testCase, testCase._testMethodName), attributeName):
        return True
    if hasattr(testCase.__class__, attributeName):
        return True
    return False
Seek current file to next byte after a delimiter bytestring
dataset/ETHPy150Open ufora/ufora/ufora/test/UnitTestCommon.py/testCaseHasAttribute--crossover with--dataset/ETHPy150Open dask/dask/dask/bytes/utils.py/seek_delimiter