File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -645,7 +645,6 @@ def test_args_fitted_params(self):
645645class VariationalTest (unittest .TestCase ):
646646 def test_args_variational (self ):
647647 args = VariationalArgs ()
648- self .assertTrue (True )
649648
650649 args = VariationalArgs (output_samples = 1 )
651650 args .validate (chains = 1 )
Original file line number Diff line number Diff line change 1010from testfixtures import LogCapture , StringComparison
1111
1212from cmdstanpy .model import CmdStanModel
13- from cmdstanpy .utils import EXTENSION , cmdstan_path
13+ from cmdstanpy .utils import EXTENSION
1414
1515HERE = os .path .dirname (os .path .abspath (__file__ ))
1616DATAFILES_PATH = os .path .join (HERE , 'data' )
@@ -48,10 +48,6 @@ def do_clean_up(self):
4848 filepath = os .path .join (root , filename )
4949 os .remove (filepath )
5050
51- def show_cmdstan_version (self ):
52- print ('\n \n CmdStan version: {}\n \n ' .format (cmdstan_path ()))
53- self .assertTrue (True )
54-
5551 def test_model_good (self ):
5652 # compile on instantiation, override model name
5753 model = CmdStanModel (model_name = 'bern' , stan_file = BERN_STAN )
Original file line number Diff line number Diff line change @@ -198,9 +198,6 @@ def test_variational_good(self):
198198
199199 self .assertEqual (variational .variational_sample .shape , (1000 , 5 ))
200200
201- def test_variational_missing_args (self ):
202- self .assertTrue (True )
203-
204201 def test_variational_eta_small (self ):
205202 stan = os .path .join (
206203 DATAFILES_PATH , 'variational' , 'eta_should_be_small.stan'
@@ -217,7 +214,6 @@ def test_variational_eta_small(self):
217214 self .assertAlmostEqual (
218215 fabs (variational .variational_params_dict ['mu[2]' ]), 0.09 , places = 1
219216 )
220- self .assertTrue (True )
221217
222218 def test_variational_eta_fail (self ):
223219 stan = os .path .join (
You can’t perform that action at this time.
0 commit comments