File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -963,15 +963,15 @@ def test_bad_init_nonparallel(self):
963
963
HalfNormal ("a" , sigma = 1 , testval = - 1 , transform = None )
964
964
with pytest .raises (SamplingError ) as error :
965
965
sample (init = None , chains = 1 , random_seed = 1 )
966
- error .match ("Bad initial " )
966
+ error .match ("Initial evaluation " )
967
967
968
968
@pytest .mark .skipif (sys .version_info < (3 , 6 ), reason = "requires python3.6 or higher" )
969
969
def test_bad_init_parallel (self ):
970
970
with Model ():
971
971
HalfNormal ("a" , sigma = 1 , testval = - 1 , transform = None )
972
- with pytest .raises (ParallelSamplingError ) as error :
972
+ with pytest .raises (SamplingError ) as error :
973
973
sample (init = None , cores = 2 , random_seed = 1 )
974
- error .match ("Bad initial " )
974
+ error .match ("Initial evaluation " )
975
975
976
976
def test_linalg (self , caplog ):
977
977
with Model ():
You can’t perform that action at this time.
0 commit comments