Skip to content
Snippets Groups Projects
Commit 16b51fe8 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

MVAUtils: python 3.8 fix

assertAlmostEquals is deprecated; use assertAlmostEqual instead.
parent a07d4724
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,7 @@ class TestMVAUtilsBasic(unittest.TestCase):
r = list(bdt.GetMultiResponse(my_input, 2))
# numpy has a mehod to compare lists
for a, b in zip(r, results):
self.assertAlmostEquals(a, b, places=5)
self.assertAlmostEqual(a, b, places=5)
my_inputs = list2stdvector([0., 2., 3., 4.])
do_test(my_inputs, normalization([-1, -0.98]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment