def test_summarize_model():
 skip_if_no_matplotlib()
 with open('model.pkl', 'wb') as f:
  cPickle.dump(MLP(layers=[Linear(dim=5, layer_name='h0', irange=0.1)], nvis=10), f, protocol=cPickle.HIGHEST_PROTOCOL)
 summarize('model.pkl')
 os.remove('model.pkl')

def test_summarize_model ( ) : skip_if_no_matplotlib ( ) with open ( 'model.pkl' , 'wb' ) as f : cPickle . dump ( MLP ( layers = [ Linear ( dim = 5 , layer_name = 'h0' , irange = 0.1 ) ] , nvis = 10 ) , f , protocol = cPickle . HIGHEST_PROTOCOL ) summarize ( 'model.pkl' ) os . remove ( 'model.pkl' )
asks the summarize_model .