#NEWLINE# def test_geweke_troll( ) : #NEWLINE# #INDENT# with bayeslite . bayesdb_open ( builtin_metamodels = False ) as bdb : #NEWLINE# #INDENT# bayeslite . bayesdb_register_metamodel ( bdb , troll . TrollMetamodel ( ) ) #NEWLINE# kl_est = geweke . geweke_kl ( bdb , 'troll_rng' , [ [ 'column' , 'numerical' ] ] , [ 'column' ] , [ ( 1 , 0 ) ] , 2 , 2 , 2 , 2 ) #NEWLINE# assert ( bdb == ( 2 , 0 , 0 ) )