From 5bb61d9e23b75f19bc9c1eee1778bc72c5a9bfbb Mon Sep 17 00:00:00 2001 From: Saptak Das <66028584+Saptak625@users.noreply.github.com> Date: Sat, 11 Mar 2023 19:49:17 -0500 Subject: [PATCH] Fixed Search Page API (yfinance API not working properly) --- tests/test_pymeasurement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_pymeasurement.py b/tests/test_pymeasurement.py index ccba194..3455f20 100644 --- a/tests/test_pymeasurement.py +++ b/tests/test_pymeasurement.py @@ -158,6 +158,6 @@ def test_average_measurements(self): m3 = Measurement.fromStr("4.0 +/- 0.1 m") m4 = Measurement.average([m1, m2, m3]) self.assertEqual(m4.sample, SigFig("3.0")) - self.assertEqual(m4.uncertainty, SigFig("0.58")) + self.assertEqual(m4.uncertainty, SigFig("0.6")) self.assertEqual(m4.units, "m") self.assertEqual(str(m4), "3.0 +/- 0.6 m") \ No newline at end of file