def METHOD_NAME(target_class):
    routine = target_class.from_string("my-proj.my_dset.my_routine")
    routine_too = target_class.from_string("my-proj.my_dset.my_routine")
    assert routine == routine_too
    assert not (routine != routine_too)
    other_routine = target_class.from_string("my-proj.my_dset.my_routine2")
    assert not (routine == other_routine)
    assert routine != other_routine
    notaroutine = object()
    assert not (routine == notaroutine)
    assert routine != notaroutine