File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ def test_compute_mud(tmp_path):
19
19
20
20
expected_mud = 3
21
21
actual_mud = compute_mud (file )
22
- assert actual_mud == pytest .approx (expected_mud , rel = 0.1 , abs = 0.1 )
22
+ assert actual_mud == pytest .approx (expected_mud , rel = 1e-4 , abs = 0.1 )
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ def test_set_mud(user_filesystem):
193
193
cli_inputs = ["2.5" , "data.xy" ]
194
194
actual_args = get_args (cli_inputs )
195
195
actual_args = set_mud (actual_args )
196
- assert actual_args .mud == pytest .approx (2.5 , rel = 0.1 , abs = 0.1 )
196
+ assert actual_args .mud == pytest .approx (2.5 , rel = 1e-4 , abs = 0.1 )
197
197
assert actual_args .z_scan_file is None
198
198
199
199
cwd = Path (user_filesystem )
@@ -204,7 +204,7 @@ def test_set_mud(user_filesystem):
204
204
cli_inputs = ["2.5" , "data.xy" ] + inputs
205
205
actual_args = get_args (cli_inputs )
206
206
actual_args = set_mud (actual_args )
207
- assert actual_args .mud == pytest .approx (expected [0 ], rel = 0.1 , abs = 0.1 )
207
+ assert actual_args .mud == pytest .approx (expected [0 ], rel = 1e-4 , abs = 0.1 )
208
208
assert actual_args .z_scan_file == expected [1 ]
209
209
210
210
You can’t perform that action at this time.
0 commit comments