'Test for issues related to scale input'

def test_scale_input(self):

    t = Time(100.0, format='cxcsec', scale='utc')
    assert (t.scale == 'utc')
    t = Time(100.0, format='unix', scale='tai')
    assert (t.scale == 'tai')
    t = Time(100.0, format='gps', scale='utc')
    assert (t.scale == 'utc')
    with pytest.raises(ScaleValueError):
        Time(1950.0, format='byear', scale='bad    scale')
    with pytest.raises(ScaleValueError):
        Time('2000:001:00:00:00', scale='bad    scale')
