#NEWLINE# def test_none_init_scalar( self ) : #NEWLINE# #INDENT# canary = Mock ( ) #NEWLINE# class Foo ( object ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# instrumentation . register_class ( Foo ) #NEWLINE# attributes . register_attribute ( Foo , 'bar' ) #NEWLINE# event . listen ( Foo . bar , 'set' , canary ) #NEWLINE# f1 = Foo ( ) #NEWLINE# eq_ ( f1 . bar , None ) #NEWLINE# eq_ ( canary . mock_calls , [ ] )