def METHOD_NAME():
    'test default yeardata is set correctly. Also test set function.'
    shio = CyShioTime(shio_file)
    yd = os.path.join(os.path.dirname(gnome.__file__), 'data', 'yeardata')
    # shio puts a trailing slash at the end that is platform dependent
    # so compare the names without the platform dependent trailing slash
    assert shio.yeardata[:-1] == yd
    # bogus path but we just want to test that it gets set
    shio.yeardata = yd
    assert shio.yeardata[:-1] == yd