def register_provides(provider_protocol, protocol):
    manager = get_global_adaptation_manager()
    return manager.register_provides(provider_protocol, protocol)
Should show proper handling of an empty file.
dataset/ETHPy150Open enthought/traits/traits/adaptation/adaptation_manager.py/register_provides--crossover with--dataset/ETHPy150Open kenfar/DataGristle/scripts/tests/test_gristle_slicer_cmd.py/TestEmptyFile.test_empty_stdin