@deprecated(u'1.4.0', _deprecation_msg)
def create_subsystem(subsystem_type, scope=u'test-scope', **options):
 if (not issubclass(subsystem_type, Subsystem)):
  raise TypeError(u'The given `subsystem_type` was not a subclass of `Subsystem`: {}'.format(subsystem_type))
 option_values = create_option_values_for_optionable(subsystem_type, **options)
 return subsystem_type(scope, option_values)

@ deprecated ( u'1.4.0' , _deprecation_msg ) def create_subsystem ( subsystem_type , scope = u'test-scope' , ** options ) : if ( not issubclass ( subsystem_type , Subsystem ) ) : raise TypeError ( u'The given `subsystem_type` was not a subclass of `Subsystem`: {}' . format ( subsystem_type ) ) option_values = create_option_values_for_optionable ( subsystem_type , ** options ) return subsystem_type ( scope , option_values )
creates a subsystem for test .