def next_workday(dt):
    dt += timedelta(days=1)
    while dt.weekday() > 4:
        # Mon-Fri are 0-4
        dt += timedelta(days=1)
    return dt
Check that using a non callable type fails.
dataset/ETHPy150Open pydata/pandas/pandas/tseries/holiday.py/next_workday--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_usage.py/WrongTypedTestCase.test_nonCallable