From 837b9b8f8ba4c395ea6379ac243adcd7a5ac4c92 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 16 Aug 2025 08:43:11 -0400 Subject: Fix config file path subclasses in 3.13 --- tests/test_config_file_path.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_config_file_path.py') diff --git a/tests/test_config_file_path.py b/tests/test_config_file_path.py index 30b3b7f..e5ec5ba 100644 --- a/tests/test_config_file_path.py +++ b/tests/test_config_file_path.py @@ -79,7 +79,7 @@ def test_config_file_path_decides_on_the_correct_parser( template = template_file(template_file_type, "default") path = ConfigFilePath(template) - assert isinstance(path.parser, expected_parser_type) + assert isinstance(path.file_parser, expected_parser_type) @pytest.mark.parametrize("filename", ["some-file", "some-file.unsupported-extension"]) @@ -94,4 +94,4 @@ def test_config_file_path_raises_value_error_on_parser_if_invalid_extension(file path = ConfigFilePath(filename) with pytest.raises(ValueError): - path.parser + path.file_parser -- cgit v1.2.3