Skip to content

Commit 92c7bb6

Browse files
committed
Remove empty tests
1 parent cdd0bfa commit 92c7bb6

3 files changed

Lines changed: 1 addition & 10 deletions

File tree

test/test_cmdstan_args.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,6 @@ def test_args_fitted_params(self):
645645
class 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)

test/test_model.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from testfixtures import LogCapture, StringComparison
1111

1212
from cmdstanpy.model import CmdStanModel
13-
from cmdstanpy.utils import EXTENSION, cmdstan_path
13+
from cmdstanpy.utils import EXTENSION
1414

1515
HERE = os.path.dirname(os.path.abspath(__file__))
1616
DATAFILES_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\nCmdStan 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)

test/test_variational.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)