#NEWLINE# def test_all_without_segment( self ) : #NEWLINE# #INDENT# objects = [ Block , RecordingChannelGroup , RecordingChannel , Unit , AnalogSignal , AnalogSignalArray , IrregularlySampledSignal , SpikeTrain , Event , Epoch , Spike , EventArray , EpochArray ] #NEWLINE# res = generate_one_simple_block ( supported_objects = objects ) #NEWLINE# self . assertTrue ( isinstance ( res , Block ) ) #NEWLINE# assert_neo_object_is_compliant ( res ) #NEWLINE# self . assertEqual ( len ( res . segments ) , 0 )