From ce243a57b24d6adecb169487e706290d91b22d19 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 20 Feb 2024 10:57:56 +0300 Subject: Track filename in the errors R/qtl2 bundles can contain more than one file, of the same type. When errors are encountered in any of the files, we need to be able to inform the user which file it is, in addition to the line and column number. --- tests/qc/test_cells_average.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/qc/test_cells_average.py') diff --git a/tests/qc/test_cells_average.py b/tests/qc/test_cells_average.py index 68fd4ec..b6ded31 100644 --- a/tests/qc/test_cells_average.py +++ b/tests/qc/test_cells_average.py @@ -14,4 +14,4 @@ def test_cell_average_value_pass_if_no_decimal_places(num_str): THEN: `avg_invalid_value` returns `None` """ line, col = randint(0, 100), randint(0, 20) - assert avg_invalid_value(line, col, num_str) is None + assert avg_invalid_value("test.file", line, col, num_str) is None -- cgit v1.2.3