#NEWLINE# def test_sessions_no_errors( ) : #NEWLINE# #INDENT# with test_core . analyzed_bayesdb_generator ( test_core . t1 ( ) , 10 , None , max_seconds = 1 ) as ( bdb , generator_id ) : #NEWLINE# #INDENT# tr = sescap . SessionOrchestrator ( generator_id ) #NEWLINE# cursor = bdb . execute ( "\n            SELECT age, weight FROM t1\n                WHERE label = 'frotz'\n                ORDER BY weight\n        " ) #NEWLINE# cursor . fetchall ( ) #NEWLINE# cursor = bdb . execute ( '\n            ESTIMATE PREDICTIVE PROBABILITY OF age FROM t1_cc\n        ' ) #NEWLINE# cursor . fetchall ( ) #NEWLINE# assert ( tr . _check_error_entries ( tr . session_id ) == 0 )