From bd9cf30976abefee524d9eeeb388eb8bd94c1aab Mon Sep 17 00:00:00 2001 From: Lendemor Date: Tue, 28 Jan 2025 13:51:44 +0100 Subject: [PATCH] fix tests --- tests/units/compiler/test_compiler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/units/compiler/test_compiler.py b/tests/units/compiler/test_compiler.py index 4ba543cb3..3668abc2e 100644 --- a/tests/units/compiler/test_compiler.py +++ b/tests/units/compiler/test_compiler.py @@ -92,7 +92,7 @@ def test_compile_import_statement( ), ], ) -def test_compile_imports(import_dict: ParsedImportDict, test_dicts: List[dict]): +def test_compile_imports(import_dict: ParsedImportDict, test_dicts: list[dict]): """Test the compile_imports function. Args: @@ -103,7 +103,7 @@ def test_compile_imports(import_dict: ParsedImportDict, test_dicts: List[dict]): for import_dict, test_dict in zip(imports, test_dicts): assert import_dict["lib"] == test_dict["lib"] assert import_dict["default"] == test_dict["default"] - assert sorted(import_dict["rest"]) == test_dict["rest"] + assert import_dict["rest"] == test_dict["rest"] def test_compile_stylesheets(tmp_path, mocker):