diff --git a/test/unit.jl b/test/unit.jl index 2f59e11..d208b35 100644 --- a/test/unit.jl +++ b/test/unit.jl @@ -304,19 +304,20 @@ end d = JSON.parse(json(hmm2)) @test_broken from_dict(HMM{Multivariate,Float64}, MvNormal, d) == hmm2 - hmm3 = HMM( - [0.9 0.1; 0.1 0.9], - [ - MixtureModel([Normal(0, 1)]), - MixtureModel([Normal(5, 2), Normal(10, 1)], [0.25, 0.75]), - ], - ) - d = JSON.parse(json(hmm3)) - @test_broken from_dict( - HMM{Univariate,Float64}, - MixtureModel{Univariate,Continuous,Normal,Float64}, - d, - ) == hmm3 + # /!\ This test fails with Distributions <= v0.23.4, and works otherwise. + # hmm3 = HMM( + # [0.9 0.1; 0.1 0.9], + # [ + # MixtureModel([Normal(0, 1)]), + # MixtureModel([Normal(5, 2), Normal(10, 1)], [0.25, 0.75]), + # ], + # ) + # d = JSON.parse(json(hmm3)) + # @test_broken from_dict( + # HMM{Univariate,Float64}, + # MixtureModel{Univariate,Continuous,Normal,Float64}, + # d, + # ) == hmm3 # MixtureModel <-> HMM (stationnary distribution) a = [0.4, 0.6]