fixed the baker paper test
This commit is contained in:
parent
1cde1d9a01
commit
08f898d83a
@ -98,9 +98,7 @@ class Test(unittest.TestCase):
|
||||
|
||||
answer = baker.run_baker(self.X, R, S)
|
||||
|
||||
a = answer['abc'][0]
|
||||
b = answer['abc'][1]
|
||||
c = answer['abc'][2]
|
||||
a, b, c = sorted(answer['abc'])
|
||||
aa,bb,cc = sorted((2/3.0, 2/3.0, 1/3.0))
|
||||
|
||||
self.assertAlmostEqual(a,aa)
|
||||
|
Loading…
Reference in New Issue
Block a user