def nextLine():
    caller = currentframe(1)
    return (getsourcefile(sys.modules[caller.f_globals['__name__']]),
            caller.f_lineno + 1)
Daylength is correctly read as an int
dataset/ETHPy150Open twisted/twisted/twisted/logger/test/test_stdlib.py/nextLine--crossover with--dataset/ETHPy150Open jcbagneris/fms/tests/utils.py/XmlParserTests.testDaylengthValue