Skip to content

Commit f47daa8

Browse files
Switch almost equal comparison to 0.00001% instead of 1 place
1 parent ccffafb commit f47daa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_geophires_x.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def get_output_file_for_example(example_file: str):
232232
self.assertDictAlmostEqual(
233233
expected_result.result,
234234
geophires_result.result,
235-
places=1,
235+
percent=1e-5,
236236
msg=f'Example test: {example_file_path}',
237237
)
238238
regenerate_cmds.pop()

0 commit comments

Comments
 (0)