We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc63f75 commit be5c1e9Copy full SHA for be5c1e9
test/test_sample.py
@@ -1929,7 +1929,10 @@ def test_json_edges(self):
1929
self.assertTrue(np.isnan(fit.stan_variable("nan_out")[0]))
1930
self.assertTrue(np.isinf(fit.stan_variable("inf_out")[0]))
1931
1932
- def test_serialization(self, stanfile='bernoulli.stan'):
+ def test_mcmc_serialization(self, stanfile='bernoulli.stan'):
1933
+ # This test must have a name with lexicographical less than any test
1934
+ # that uses the `without_import` context manager because the latter uses
1935
+ # `reload` with side effects that affect the consistency of classes.
1936
stan = os.path.join(DATAFILES_PATH, stanfile)
1937
bern_model = CmdStanModel(stan_file=stan)
1938
0 commit comments