def test_regression_3998():
 time = Time(u'2012-01-01 00:00:00')
 assert time.isscalar
 sun = get_sun(time)
 assert sun.isscalar
 assert (sun.obstime is time)

def test_regression_3998 ( ) : time = Time ( u'2012-01-01 00:00:00' ) assert time . isscalar sun = get_sun ( time ) assert sun . isscalar assert ( sun . obstime is time )
issue: URL .