def test_doc_string_contains_models():
 for kind in ('mean', 'apparent'):
  for model in SIDEREAL_TIME_MODELS[kind]:
   assert (model in Time.sidereal_time.__doc__)

def test_doc_string_contains_models ( ) : for kind in ( 'mean' , 'apparent' ) : for model in SIDEREAL_TIME_MODELS [ kind ] : assert ( model in Time . sidereal_time . __doc__ )
the doc string is formatted; this ensures this remains working .