From afa28131e2b56e000c50a55c873ee77249c095ec Mon Sep 17 00:00:00 2001 From: Han Wang Date: Thu, 9 May 2024 13:52:23 +0800 Subject: [PATCH] fix bug --- source/tests/common/dpmodel/test_descriptor_hybrid.py | 1 - 1 file changed, 1 deletion(-) diff --git a/source/tests/common/dpmodel/test_descriptor_hybrid.py b/source/tests/common/dpmodel/test_descriptor_hybrid.py index c931e1e023..668c87b1c6 100644 --- a/source/tests/common/dpmodel/test_descriptor_hybrid.py +++ b/source/tests/common/dpmodel/test_descriptor_hybrid.py @@ -66,7 +66,6 @@ def test_get_parameters( env_protection=0.1, ) em0 = DescrptHybrid(list=[ddsub0, ddsub1, ddsub3]) - self.assertAlmostEqual(em0.get_env_protection(), 0.0) with self.assertRaises(ValueError): self.assertAlmostEqual(em0.get_env_protection(), 0.0)