Skip to content

Commit 669c17b

Browse files
committed
🔧 fix strange test bug
1 parent 101f065 commit 669c17b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/parametric_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ def assert_function_1(_, files):
5555

5656

5757
def assert_function_2(output, _):
58+
# np.float64(5.179525402166653)\n
59+
if "np.float64" in output.content:
60+
return 4.0 <= float(output.content.split("(")[1].split(")")[0]) <= 7.0
5861
return 4.0 <= float(output.content) <= 7.0
5962

6063

0 commit comments

Comments
 (0)