fixed the baker paper test

This commit is contained in:
Stephen Mardson McQuay 2011-05-04 21:08:48 -06:00
parent 1cde1d9a01
commit 08f898d83a

View File

@ -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)