diff --git a/test/test_carddav_object.py b/test/test_carddav_object.py index 3e06e8e..b400ff3 100644 --- a/test/test_carddav_object.py +++ b/test/test_carddav_object.py @@ -80,5 +80,5 @@ def test_dicts_are_keyed_by_the_first_key(self) -> None: def test_all_strings_are_sorted_before_dicts(self) -> None: my_list = ["a", {"c": "d"}, "e", {"f": "g"}] - my_list.sort(key=multi_property_key) + my_list.sort(key=multi_property_key) # type: ignore[arg-type] self.assertEqual(my_list, ["a", "e", {"c": "d"}, {"f": "g"}]) diff --git a/test/test_yaml_editable.py b/test/test_yaml_editable.py index dad5bb1..4238aba 100644 --- a/test/test_yaml_editable.py +++ b/test/test_yaml_editable.py @@ -80,7 +80,7 @@ def test_unsupported_private_objects_can_be_added_but_not_retrieved(self) -> Non ye = TestYAMLEditable() ye.supported_private_objects = ["foo"] ye._add_private_object("foo", "bar") - ye._add_private_object("bar", "foo") # type: ignore[arg-type] + ye._add_private_object("bar", "foo") self.assertEqual(ye._get_private_objects(), {"foo": ["bar"]}) self.assertIn("X-BAR:foo", ye.vcard.serialize())