From 4f719e7f90457b520f2b632f90244283a20e5ce8 Mon Sep 17 00:00:00 2001 From: Loann Peurey Date: Tue, 10 Dec 2024 10:54:21 +0100 Subject: [PATCH] winpath in warning --- tests/test_validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_validation.py b/tests/test_validation.py index 8265f398..215c7d4a 100644 --- a/tests/test_validation.py +++ b/tests/test_validation.py @@ -36,7 +36,7 @@ def test_invalid_project(): ] expected_warnings = [ - "Metadata files for sets ['textgrid', 'vtc_rttm', 'alice', 'ranges'] could not be found, they should be created as annotations//metannots.yml", + os.path.normpath("Metadata files for sets ['textgrid', 'vtc_rttm', 'alice', 'ranges'] could not be found, they should be created as annotations//metannots.yml"), os.path.normpath("examples/invalid_raw_data/metadata/recordings.csv")+ ": '2' does not pass callable test for column 'noisy_setting' on line 2", "file '"+ os.path.normpath("examples/invalid_raw_data/recordings/raw/test_1_2020091.mp3")+"' not indexed.", "the data content of recording 'test_1_is_broken.mp3' at path " + os.path.normpath("'examples/invalid_raw_data/recordings/raw/test_1_is_broken.mp3'") + " is absent. See 'broken symlinks'"