8000 SAT-3017 - Fix test_series_mean failed in SDC 0.33 (#888) · IntelPython/sdc@3fe23f5 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit 3fe23f5

Browse files
SAT-3017 - Fix test_series_mean failed in SDC 0.33 (#888)
1 parent b674bb1 commit 3fe23f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdc/tests/test_series.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2427,7 +2427,7 @@ def _check_mean(self, pyfunc, *args):
24272427
if np.isnan(actual) or np.isnan(expected):
24282428
self.assertEqual(np.isnan(actual), np.isnan(expected))
24292429
else:
2430-
self.assertEqual(actual, expected)
2430+
np.testing.assert_almost_equal(actual, expected)
24312431

24322432
def test_series_mean(self):
24332433
def test_impl(S):

0 commit comments

Comments
 (0)
0